Example: Creating Context-Sensitive Pop-up Help
Context-sensitive help enables a user to easily find information about a specific user interface element. Pop-up help appears in a pop-up window rather than in the Help Viewer. This example is a four-step process that explains how to create context-sensitive pop-up help.
To make context-sensitive pop-up help work, you need to create a text file for your help topics and a header (.h) file, and then include them in your project (.hhp) file.
- The text file contains all of the topics that are used for pop-up help. Each topic ID in the text file must match a symbolic ID in the header file. You can create more than one text file for topics.
- The header file lists the symbolic IDs and numeric IDs for all the dialog boxes and controls in a program. Your software development team should be able to supply a list of IDs for your header file.
The steps of the process are as follows:
- Create a text file for pop-up help topics.
- Create a header file.
- Create a [TEXT POPUPS] section in your project file.
- Include a header file in your project file.
- Before proceeding, you may want to review some basic guidelines for creating context-sensitive help topics.
- If your help doesn't work as expected, you can troubleshoot pop-up help problems.
Build date: 4/14/2012