CountMItems
You can count the number of items in a menu using theCountMItemsfunction.
FUNCTION CountMItems (theMenu: MenuHandle): Integer;
theMenu- A handle to the menu record of the menu whose items your application needs to count.
DESCRIPTION
TheCountMItemsfunction counts the number of items in the specified menu and returns as its function result the number of items in the menu.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help