BCGControlBar Pro for MFC
virtual int CBCGPStatic::DoDrawText ( CDC &  dc,
const CString &  strText,
CRect &  rectText,
UINT  uiDTFlags,
BOOL  bOnGlass = FALSE 
)
protectedvirtual

Called by the framework to draw the control text.

Parameters
dcSpecifies a device context.
strTextSpecifies the control text.
rectTextSpecifies the text bounds.
uiDTFlagsDT_* flags used for the text drawing.
bOnGlassSpecifies whether text control is located on the DWM area.
Returns
The drawn text height