BCGControlBar Pro for MFC
virtual void CBCGPVisualManager::OnDrawTearOffCaption ( CDC *  pDC,
CRect  rect,
BOOL  bIsActive 
)
virtual

Called by the framework when it need to redraw tear-off caption for a tear-off bar.

This function is called by the framework when a CBCGPPopupMenu object processes WM_PAINT message and detects that it is required to redraw the tear-off caption.

Override this member function in a CBCGPVisualManager - derived class to customize the look of tear-off captions.

Parameters
pDCA pointer to a device context.
rectSpecifies the caption rectangle.
bIsActiveSpecifies whether the caption should be displayed as active.