Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Draws the image for a menu button.

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

[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.

TRUE if the image was drawn; otherwise FALSE.

Header: afxribbonbar.h

© 2015 Microsoft