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 when the image that is associated with a menu item is drawn.
virtual BOOL OnDrawMenuImage(
CDC* pDC,
const CMFCToolBarMenuButton* pMenuButton,
const CRect& rectImage
);
Parameters
[in] pDC
Pointer to the device context.[in] pMenuButton
Pointer to the menu button.[in] rectImage
The image associated with the menu item.
Return Value
The default implementation does nothing and returns 0.
Remarks
Override this method if you want to customize image drawing for the menu items that belong to the menu bar owned by the COleIPFrameWndEx-derived object.
Requirements
Header: afxoleipframewndex.h