Important: The information in this document is obsolete and should not be used for new development.
Application-Defined Routine
Apple provides a standard menu definition procedure and standard menu bar definition function. The Menu Manager uses the menu definition procedure and menu bar definition function to display and perform basic operations on menus and the menu bar. Although the Menu Manager allows you to provide your own menu bar definition function, Apple recommends that you use the standard menu bar definition function. Similarly, in most cases the standard menu definition procedure should meet the needs of most applications. However, if your application has special needs, you can choose to provide your own menu definition procedure. If you do so, define your menu definition procedure so that it emulates the standard behavior of menus as much as possible. If you define your own menus, they should follow the guidelines described in this chapter and in Macintosh Human Interface Guidelines.
Subtopics
- The Menu Definition Procedure