Delen via


CCommandManager::GetMenuUserImage

Returns the image index associated with a menu item that has a specified command ID.

int GetMenuUserImage(
    UINT uiMenuCmd
) const;

Parameters

  • [in] uiMenuCmd
    The command ID of a menu item.

Return Value

The index of the image; or -1 if the element is not found.

Requirements

Header: afxcommandmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CCommandManager Class