|
virtual |
Called by the framework to draw a caption button.
The default implementation displays a small button from the global CBCGPMenuImages object. There are several different buttons to draw: CBCGPMenuImages::IdClose, CBCGPMenuImages::IdArowLeft, CBCGPMenuImages::IdArowRight, CBCGPMenuImages::IdArowDown, CBCGPMenuImages::IdArowUp, CBCGPMenuImages::IdPinHorz.
Override this member function in your CBCGPVisualManager - derived class to customize the button appearance.
pDC | A pointer to a device context. |
pButton | A pointer to a caption button to draw. |
bActive | Specifies whether the button is active. |
bHorz | Specifies whether the caption is horizontal. |
bMaximized | Specifies whether the parent control bar is maximized. |
bDisabled | Specifies whether the caption button is disabled. |
nImageID | Index in the global menu image list |