Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Draws a document icon on the menu button.
void DrawDocumentIcon(
   CDC* pDC,
   const CRect& rectImage,
   HICON hIcon 
);
Parameters
- [in] pDC 
 A pointer to the device context.
- [in] rectImage 
 Coordinates of the image bounding rectangle.
- [in] hIcon 
 A handle to the icon.
Remarks
This method takes a document icon and draws it on the menu button, centered in the area specified by rectImage.
Requirements
Header: afxtoolbarmenubutton.h