Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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