Dela via


CMFCRibbonBar::DrawMenuImage

Draws the image for a menu button.

BOOL DrawMenuImage(
   CDC* pDC,
   const CMFCToolBarMenuButton* pMenuItem,
   const CRect& rectImage
);

Parameters

  • [in] pDC
    Pointer to a device context for the menu button.

  • [in] pMenuItem
    Pointer to a toolbar menu button.

  • [in] rectImage
    The display rectangle for a menu button.

Return Value

TRUE if the image was drawn; otherwise FALSE.

Requirements

Header: afxribbonbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCRibbonBar Class

Change History

Date

History

Reason

October 2008

Updated whole topic.

Information enhancement.