To create a header file
Open Microsoft Notepad or another text editor.
Create an entry for each symbolic ID, followed by its corresponding numeric ID, using the following format:
#define IDH_symbolicID 1000
Where
symbolicID
is the symbolic ID for part of the program (such as a dialog box or control) and 1000 is the numeric ID. The numeric IDs in the header file are used only by the HTML Help compiler. The compiler maps numeric IDs in the header file to help topics.Save the file with a .h extension.
The following sample header file is taken from HTML Help Workshop:
Note
If you use an IDH_ prefix with the symbolic ID, as shown in the example above, HTML Help Workshop will automatically check that the topics mapped in your project file actually exist in your compiled help (.chm) file, and that your context-sensitive help topics are all mapped in your project file.
Related topics