Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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