The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



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