Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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