Important: The information in this document is obsolete and should not be used for new development.
Adding and Deleting Menu Items
You can add the names of all resources of a specified type to a menu using theInsertResMenu
orAppendResMenu
procedure. You can add menu items that you define to a menu using theAppendMenu
orInsertMenuItem
procedure. You can also delete menu items using theDeleteMenuItem
procedure. 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
AppendMenu
orInsertMenuItem
procedure, 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