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.
pDC | The device-context. |
rectBounds | Bounds of the control. |
strInfo | The information text. |
strCaption | The information box caption. |
hIcon | The icon. |
bCalcRectOnly | TRUE to calculate rectangle only. |
bPreview | TRUE to preview mode. |