Important: The information in this document is obsolete and should not be used for new development.
GetMenuItemText
Use theGetMenuItemTextprocedure to get the text of a specific menu item. TheGetMenuItemTextprocedure is also available as theGetItemprocedure.
PROCEDURE GetMenuItemText (theMenu: MenuHandle; item: Integer; VAR itemString: Str255);
theMenu- A handle to the menu record of the menu containing the menu item whose text you wish to get.
item- The item number of the menu item. The
GetMenuItemTextprocedure returns the text of this item.itemString- The
GetMenuItemTextprocedure returns the text of the menu item in this parameter.DESCRIPTION
TheGetMenuItemTextprocedure returns the text of the specified menu item in theitemStringparameter. Use other Menu Manager routines to get information about
the other characteristics of a menu item.