Executes a jump to the Contents topic of a specified Help file. The Contents topic is defined by the CONTENTS option in the [OPTIONS] section of the Help project file.
Syntax
JumpContents("filename")
Parameter | Description |
filename | Name of the destination Help file for the jump. The filename must be enclosed in quotation marks. |
Example
The following macro jumps to the Contents topic of the PROGMAN.HLP file:
JumpContents("progman.hlp")
Comments
If the Help project file does not have a CONTENTS option, Help displays the first topic in the first RTF file specified in the [FILES] section of the Help project file.
If Windows Help cannot find the specified Help file, it displays an error message and does not perform the jump.
Windows Help ignores this macro if it is executed in a secondary window.
See Also
Contents, SetContents