CountMItems

To find how many items are in a menu, use the CountMItems function.

FUNCTION CountMItems(theMenu as MenuHandle) as Integer

theMenu Handle of a menu of interest.

returns number of items in
theMenu

Description:
Counts items in a menu.

Supported platforms:
* MacOS PPC
* MacOS Carbon
* MacOS 68k

Unsupported platforms:
* Windows x86