![]() |
Contextual Menu Selection Type Constants |
Header: Menus.h |
enum { kCMNothingSelected = 0, kCMMenuItemSelected = 1, kCMShowHelpSelected = 3 };
The user did not choose an item from the contextual menu and the application should do no further processing of the event.
The user chose one of the applications items from the menu. The application can examine the outMenuID and outMenuItem parameters of ContextualMenuSelect to see what the menu selection was, and it should then handle the selection appropriately.
The user chose the Help item from the menu. The application should open an Apple Guide database to a section appropriate for the selection. If the application supports some other form of help, it should be presented instead.
These constants are returned in the outUserSelectionType parameter of the function ContextualMenuSelect to specify what the user selected from the contextual menu. Contextual menu selection type constants are available with Appearance Manager 1.0 and later.
© 2000 Apple Computer, Inc. (Last Updated 4/14/2000)