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 system to draw the separator on the Commands list.
virtual void OnDrawOnList(
CDC* pDC,
CString strText,
int nTextOffset,
CRect rect,
BOOL bIsSelected,
BOOL bHighlighted
);
Parameters
Parameter |
Description |
[in] pDC |
A pointer to a device context. |
[in] strText |
Text displayed on the list. |
[in] nTextOffset |
Spacing between the text and the left side of the bounding rectangle. |
[in] rect |
Specifies the bounding rectangle. |
[in] bIsSelected |
Ignored. |
[in] bHighlighted |
Ignored. |
Requirements
Header: afxbaseribbonelement.h