Adding table of contents controls

The tri-pane design used with most Help systems includes a Contents tab where users select books and pages to open topics. The books and pages displayed at the Contents tab come from the contents file that you create in the TOC Composer.

If your project is not intended for the tri-pane design, you can make the contents file (.HHC) available by adding a table of contents control in a topic. When users open the topic that has the control, the table of contents is displayed.

If the topic that uses the table of contents control is located in a subfolder, use the Windows Explorer and copy the contents file into the subfolder before you add the control.

To add a table of contents control:

  1. Open the topic in the WYSIWYG Editor that should include the control.

  2. Click where you want to add the table of contents.

  3. Click Insert HTML Help Control .

  4. Select Table of contents. The Table of Contents Wizard opens.

  5. From Contents File, click and select the .HHC file.

  6. Click Finish. The control is added to the topic.

Notes:

  • To test the table of contents control, you need to compile the Microsoft HTML Help project.

  • You can also use other contents files in your project. Use the Windows Explorer to copy both the .HHC and all associated files (topics, images, multimedia, etc.) into the project if you want to select the .HHC file with the table of contents control.