Important: The information in this document is obsolete and should not be used for new development.
About the Menu Manager
The Menu Manager, together with the menu definition procedure and menu bar definition function, provides your application with a convenient way to manage the menus in your application. The Menu Manager uses two data structures, menu records and menu lists, to manage menus. The next two sections describe how the Menu Manager uses these two data structures. "Using the Menu Manager," which begins on page 3-43, shows how you can use the Menu Manager to
- define a menu using a
'MENU'
resource- define a menu bar using an
'MBAR'
resource- install your application's menu bar
- change the appearance of menu items
- add menu items to a menu
- respond to the user when the user chooses a menu item
- handle the Apple and Help menus
- create a pop-up menu
- create a hierarchical menu
- handle access to menus when your application displays a dialog box
- write your own menu definition procedure
Subtopics
- How the Menu Manager Maintains Information About Menus
- How the Menu Manager Maintains Information About an Application's Menu Bar