BCGControlBar Pro for MFC
virtual void CBCGPCaptionBar::OnDrawText ( CDC *  pDC,
CRect  rect,
const CString &  strText 
)
protectedvirtual

Called by the framework to display the caption bar text.

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

The default implementation displays the text using CDC::DrawText and m_clrBarText color.

Parameters
pDCA pointer to a device context used to display the button.
rectSpecifies the bounding rectangle of the text.
strTextSpecifies the text string to display.