BCGControlBar Pro for MFC
CRect CBCGPInfoBoxRenderer::DoDraw ( CDC *  pDC,
const CRect &  rectBounds,
const CString &  strInfo,
const CString &  strCaption = _T(""),
HICON  hIcon = NULL,
BOOL  bCalcRectOnly = FALSE,
BOOL  bPreview = FALSE 

Draws the control content.

pDCThe device-context.
rectBoundsBounds of the control.
strInfoThe information text.
strCaptionThe information box caption.
hIconThe icon.
bCalcRectOnlyTRUE to calculate rectangle only.
bPreviewTRUE to preview mode.
Actual control bounds.