BCGSuite 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.

Parameters
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.
Returns
Actual control bounds.