Share via


CMFCRibbonBaseElement::OnDrawMenuImage

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

See Also

Reference

CMFCRibbonBaseElement Class

Hierarchy Chart