Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 3 - Menu Manager / Menu Manager Reference
Menu Manager Routines


Getting and Setting the Appearance of Menu Items

You can get information about the characteristics of a menu item using Menu Manager routines. For example, you can get an item's text, style, mark, keyboard equivalent, script code, and associated icons. You can also determine if a menu item has a submenu associated with it and the menu ID of the submenu.

You can set the characteristics of a menu item, including associating a submenu with a menu item, using Menu Manager routines. Whenever possible, however, you should define your application's menu items in 'MENU' resources. This makes your application easier to localize for other regions.

You can also enable and disable menu items or entire menus using Menu Manager routines.


Subtopics
EnableItem
DisableItem
GetMenuItemText
SetMenuItemText
GetItemStyle
SetItemStyle
GetItemMark
SetItemMark
CheckItem
GetItemIcon
SetItemIcon
GetItemCmd
SetItemCmd

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996