Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
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