![]() |
Contextual Menu Help Type Constants |
Header: Menus.h |
enum { kCMHelpItemNoHelp = 0, kCMHelpItemAppleGuide = 1, kCMHelpItemOtherHelp = 2 };
The application does not support any help. The Menu Manager will put an appropriate help string into the menu and disable it.
The application supports Apple Guide help. The Menu Manager will put the name of the main Guide file into the menu and enable it.
The application supports some other form of help. In this case, the application must also pass a valid string into the inHelpItemString parameter of ContextualMenuSelect. This string will be the text of the help item in the menu, and the help item will be enabled.
You can pass these constants in the inHelpType parameter of the function ContextualMenuSelect to specify the kind of help the application supports. Contextual menu help type constants are available with Appearance Manager 1.0 and later.
© 2000 Apple Computer, Inc. (Last Updated 4/14/2000)