BCGControlBar Pro for MFC
virtual COLORREF CBCGPVisualManager::OnDrawControlBarCaption ( CDC *  pDC,
CBCGPDockingControlBar pBar,
BOOL  bActive,
CRect  rectCaption,
CRect  rectButtons 
)
virtual

Called by the framework to draw the control bar caption.

Override this member function in your CBCGPVisualManager - derived class to customize the caption appearance.

Parameters
pDCA pointer to a device context.
pBarA pointer to a control bar whose caption is being drawn.
bActiveSpecifies whether the control bar is active or not.
rectCaptionSpecifies the bounding rectangle of the caption.
rectButtonsThe bounding rectangle of the caption buttons.