get_menu_item_information


bool get_menu_item_information(handle menu,
                               unsigned item,
                               bool by_position,
                               menu_item_information* information)

This function obtains information about a menu item.

Parameters

handle menu

The handle of the menu containing the item.

unsigned item

The identity of the item or its relative position within the menu.

bool by_position

true The parameter Item is the relative position of the item.
false The parameter Item is the identity of the item.

menu_item_information* information

A pointer to an object that is updated to hold information about the item.

Return

bool

true The function succeeded.
false The call failed.

Notes

See also