BCGControlBar Pro for MFC
virtual void CBCGPCaptionBar::OnDrawButton ( CDC *  pDC,
CRect  rect,
const CString &  strButton,
BOOL  bEnabled 
)
protectedvirtual

Called by the framework when it displays the caption bar's button.

Override this member function in a CBCGPCaptionBar - derived class to customize the appearance of the caption bar's button.

Parameters
pDCA pointer to a device context used to display the button.
rectThe bounding rectangle of the button.
strButtonThe button's text label.
bEnabledSpecifies whether the button is enabled (TRUE) or not (FALSE).