Creating a link to a specific topic in a CHM (Compressed HTML) file can be accomplished by using the ExecFile macro in WinHelp. In addition, you must add a few extra parameters to allow WinHelp to interpret the file structure of an HTML Help file.
HTML Help uses an internal folder structure to store all the files compressed inside of an HTML Help file. You can open any CHM topic by first figuring out it's location within the HTML Help file. You can find the URL of a topic by examining the topic's properties.
Try this:
Open any HTML Help file.

Right click
the topic and choose Properties.

Highlight and copy the entire
Address (URL) to the file. Make
sure you select the entire file name beginning with mk:@
through the file name ending with .htm.

Open RoboHelp Classic for WinHelp.
Create a new WinHelp topic.
Click the Create New Macro Hotspot button.
In Hotspot text type:
Open CHM Topic.
Click the Wizard button.
Under Category select Program.
Under Macro select ExecFile.
In the File field type: HH.EXE.
In Arguments paste the address from the previous step.
Under Display
State choose any display.

Click OK.
Compile, Run, and Test your results.
|
Microsoft Help engine used to display HTML-Help |
|
protocol used by the HTML-Help engine to call the HTML-Help topic |
|
location of chm file |
|
specific subfolder and topic location |