Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Adding and Deleting Menu Items
You can add the names of all resources of a specified type to a menu using theInsertResMenuorAppendResMenuprocedure. You can add menu items that you define to a menu using theAppendMenuorInsertMenuItemprocedure. You can also delete menu items using theDeleteMenuItemprocedure. In most cases you should
not insert or delete individual menu items from an already existing menu unless the user expects a menu (such as a list of currently open documents) to change.If you add menu items using the
AppendMenuorInsertMenuItemprocedure, you should define in resources the text and other characteristics of the menu items that you add. This makes your application easier to localize for other regions.
Subtopics
- AppendMenu
- InsertMenuItem
- DeleteMenuItem
- AppendResMenu
- InsertResMenu
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |