|
protectedvirtual |
Called when a toolbar's button need to be repainted.
The DrawButton member function is usually called by DoPaint when a toolbar's button need to be repainted.
Override this function in your CBCGPToolBar - derived class when you want to provide a custom drawing algorithm for the toolbar's buttons.
pDC | A pointer to a device context. |
pButton | A pointer to a button to draw. |
pImages | Points to the toolbar images. |
bHighlighted | Points to the toolbar images. |
bDrawDisabledImages | Specifies whether the button's image should be grayed out or taken from the image list if the button is disabled. |