GetMenuPosFromID Function--------------------------------------------------------------------------------Determines an item's position in a menu. Used in the case where the item's identifier (ID) is known.Syntaxint GetMenuPosFromID( HMENU hmenu, UINT id ); Parametershmenu [in] Handle of the menu. id [in] Application-defined 16-bit value that identifies the menu item. Return ValueThe item's zero-based position in the menu.
UINT id
);
Parametershmenu
[in] Handle of the menu.
id
[in] Application-defined 16-bit value that identifies the menu item.
Return ValueThe item's zero-based position in the menu.