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.
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