GetMenuItemCount Function

Returns the number of items in a menu.

int GetMenuItemCount(Handle menu)

Parameters

Handle menu

Menu Handle.

Return Value

Number of items in the menu.

Errors

Invalid Handle.