PyCMenu.GetMenuItemID
int = GetMenuItemID(pos)
Returns the item ID for the specified item in a pop-up menu.
Parameters
Comments
If the specified item is a pop-up menu (as opposed to an item within the pop-up menu), the return value is -1. If nPos corresponds to a SEPARATOR menu item, the return value is 0.