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 before a CMFCColorMenuButton object is displayed in the list of a toolbar customization dialog box.
virtual int OnDrawOnCustomizeList(
CDC* pDC,
const CRect& rect,
BOOL bSelected
);
Parameters
[in] pDC
A pointer to a device context.[in] rect
A rectangle that bounds the button to be drawn.[in] bSelected
TRUE specifies that the button is in selected state; otherwise, FALSE.
Return Value
The width of the button.
Remarks
This method is called by the framework when a CMFCColorMenuButton object is displayed in the list box during the toolbar customization process.
Requirements
Header: afxcolormenubutton.h