Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called by the framework to draw the ribbon element in a commands list box.
virtual void OnDrawOnList(
CDC* pDC,
CString strText,
int nTextOffset,
CRect rect,
BOOL bIsSelected,
BOOL bHighlighted
);
Parameters
[in] pDC
Pointer to a device context for the ribbon element.[in] strText
The display text.[in] nTextOffset
Distance, in pixels, from the left side of the list box to the display text.[in] rect
The display rectangle for the ribbon element.[in] bIsSelected
This parameter is not used.[in] bHighlighted
This parameter is not used.
Remarks
The commands list box displays ribbon elements to enable users to customize the quick access toolbar.
Requirements
Header: afxbaseribbonelement.h