Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To make the help viewer appear when the user clicks a command button or menu selection in your application:
Follow the instructions in Including HTML Help Support Files in an Application.
In ClassWizard, add a handler for the BN_CLICKED message (for a button) or a handler for the COMMAND message (for a menu option) to the class that contains the menu option or button. The handler should implement a call into your .chm (compiled HTML Help file). For example:
HtmlHelp(NULL, "My_chm.chm::/A_topic.htm", HH_DISPLAY_TOPIC, 0);
For more information, use the online help in HTML Help Workshop and see the following topics:
About context-sensitive help
HtmlHelp API Reference