17.12.2.6 Displaying contents targets in the main window

If you are using multiple windows (secondary windows), to force material called from the contents into the main window, set AddCntWindowName=Yes; otherwise that material goes into the last secondary window used:

[HelpContents]
; AddCntWindowName = No (default) 
;  or Yes (add def >main to ref strings)
AddCntWindowName=No

Specify the name of the primary window, if it is not main:

[HelpContents]
; CntMainWindow = name for primary window in .cnt if not "main"
;CntMainWindow=myhelpmain

Previous Topic:  17.12.2.5 Referencing multiple help files from contents

Next Topic:  17.12.3 Assembling WinHelp contents from the command line

Parent Topic:  17.12.2 Specifying heading formats and levels for contents

Sibling Topics:

17.12.2.1 Understanding WinHelp contents level numbers

17.12.2.2 Listing topics for contents with and without subheadings

17.12.2.3 Using different names in contents for heading and topic

17.12.2.4 Renaming or eliminating the contents “Overview” topic

17.12.2.5 Referencing multiple help files from contents