|
virtual |
Called by the framework when the button is required to draw itself on the customize list in the customization dialog.
This function is called from the customization dialog ("Commands" tab), when the button is required to display itself on the owner-draw list box.
The default implementation displays the button's image (if available) and the text label. If the text label of the button is not available, it tries to display the tooltip text.
You should override this member function in a CBCGPToolbarButton - derived class to properly display its objects on the customize list (if required).
pDC | A pointer to a device context |
rect | A bounding rectangle. |
bSelected | Specifies whether the button to be displayed is selected (TRUE) or not (FALSE). |
Reimplemented in CBCGPColorMenuButton.