![]() |
NavMenuItemSpec |
Header: Navigation.h |
Your application uses the NavMenuItemSpec structure to define additional items in an Open dialog boxs Show pop-up menu or a Save dialog boxs Format pop-up menu. For a description of how to add menu items, see Customizing Type Pop-up Menus.
struct NavMenuItemSpec { UInt16 version; OSType menuCreator; OSType menuType; Str255 menuItemName; char reserved[245]; }; typedef NavMenuItemSpec NavMenuItemSpecArray;
Identifies the version of this structure. Be sure to specify the kNavMenuItemSpecVersion constant in this field.
A unique value set by your application. Navigation Services passes this value back to your application to identify the application type of the selected menu item.
A unique value set by your application. Navigation Services passes this value back to your application to identify the type of the selected menu item. (Values from -1 to 10 are reserved for Navigation Services.)
The item name that appears in the pop-up menu.
Your application uses the NavMenuItemSpec structure to define additional items in an Open dialog boxs Show pop-up menu or a Save dialog boxs Format pop-up menu. For a description of how to add menu items, see Customizing Type Pop-up Menus. For information about file creators and file types, see Inside Macintosh: Macintosh Toolbox Essentials.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)