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 framework when the menu image for the ribbon element is drawn.
virtual BOOL OnDrawMenuImage(
CDC* pDC,
CRect rect
);
Parameters
[in] pDC
Pointer to a device context.[in] rect
Menu image rectangle.
Return Value
Always returns TRUE to indicate the image was drawn.
Requirements
Header: afxbaseribbonelement.h