The ColorButton object is an owner drawn push button ocx. It is associated with the color selection dialog, which pops up when the user clicks on the button. The dialog allows the user to select a color from a list of colors and display it on the button face.
The color of the ColorButton can be associated with a color property of an object. By passing on the object's dispatch pointer and the dispid of the property to the ColorButton, the user can let the ColorButton update the property whenever the color is changed.
The ColorButton object is contained by the ControlContainer object and therefore will inherit the Properties and Methods of the ControlContainer object.