When a user opens a topic, the table of contents appears.
If a topic is in a subfolder, copy the contents of the file into the subfolder before adding the control.
1)Open a topic in the Design view.
2)Click where you want to add the table of contents.
4)To test the control, generate the project. The Table Of Contents control displays the same table of contents as in the final output.
Version-control projects may have more options.
tip: You can link other contents files in your project. Copy the HHC file into the project if you want to select the HHC file with the TOC control.