PyCMenu.GetMenuItemCount

int = GetMenuItemCount()

Determines the number of items in a menu.

Return Value

The number of items in the menu if the function is successful; otherwise -1.