Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


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