Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework when drawing a checkbox.
virtual void OnDrawCheckBoxEx(
CDC *pDC,
CRect rect,
int nState,
BOOL bHighlighted,
BOOL bPressed,
BOOL bEnabled
);
Parameters
[in] pDC
Pointer to a device context.[in] rect
The bounding rectangle of the checkbox.[in] nState
The state of the checkbox: 0 if unchecked, 1 if checked, 2 if checked mixed.[in] bHighlighted
TRUE if the checkbox is highlighted, or FALSE if not.[in] bPressed
TRUE if the checkbox is pressed, or FALSE if not.[in] bEnabled
TRUE if the checkbox is enabled, or FALSE if not.
Requirements
Header: afxvisualmanageroffice2003.h