win32gui.GetMenuItemID
int = GetMenuItemID(hMenu, nPos )
Retrieves the menu item identifier of a menu item located at the specified position in a menu.
Parameters
int = GetMenuItemID(hMenu, nPos )
Retrieves the menu item identifier of a menu item located at the specified position in a menu.