Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Determines whether the command ID is associated with an image.
void EnableMenuItemImage(
UINT uiCmd,
BOOL bEnable = TRUE,
int nUserImage = -1
);
Parameters
[in] uiCmd
The command ID of a control.[in] bEnable
TRUE to associate the command ID with an image; FALSE to delete the association.[in] nUserImage
The index of a user-defined image.
Remarks
Command IDs that do not have an associated image are stored in a command list.
Requirements
Header: afxcommandmanager.h