Important: The information in this document is obsolete and should not be used for new development.
GetMenuItemText
Use theGetMenuItemText
procedure to get the text of a specific menu item. TheGetMenuItemText
procedure is also available as theGetItem
procedure.
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
GetMenuItemText
procedure returns the text of this item.itemString
- The
GetMenuItemText
procedure returns the text of the menu item in this parameter.DESCRIPTION
TheGetMenuItemText
procedure returns the text of the specified menu item in theitemString
parameter. Use other Menu Manager routines to get information about
the other characteristics of a menu item.