Programming Considerations > Programming In C++ > Programming the 3D Chart Control |
At this point, you are ready to actually program the control. To do this, note the following:
· A wrapper class header file is defined for each 3D Chart object. Examples: the wrapper class header file for the Chart3D object is named chart3d.cpp, and the wrapper class header file for the Border object is named border.cpp.
· The wrapper class header file for an object defines two routines for each of its properties: a routine that gets the current value of the property, and a routine that sets the value of the property. For example, the chart3d.cpp file defines two routines for the IsDoubleBuffered property of the Chart3D object: GetIsDoubleBuffered(), which gets the current value of the IsDoubleBuffered property, and SetIsDoubleBuffered(), which sets the value of the IsDoubleBuffered property.
· Methods defined for an object are included in the wrapper class header file for the object.