Example one – The help file (.chm) is the file containing the topic
CmdNum = 6 /* HH_DISPLAY_TOPIC
CmdNum = 'file.chm'
StringParam = 'fullpath\html_file_name.htm'
OnDesktop = *TRUE
CALL_DLL 'VaToolBx.dll' 'VaToolBxHtmlHelp' WINDOW FileName CmdNum StringParam OnDesktop ReturnCode
Example two – The file is a master index with a reference to the file containing the topic
CmdNum = 6 /* HH_DISPLAY_TOPIC
FileName = 'master_index.chm'
StringParam = 'file.chm::fullpath\html_file_name.htm'
OnDesktop = *TRUE
CALL_DLL 'VaToolBx.dll' 'VaToolBxHtmlHelp' ID_WIND0 FileName CmdNum StringParam OnDesktop ReturnCode
Note: The main file (FileName) must be a complete file name (e.g.: d:\adeliws\master.chm) or else be located in the current directory.
Access to the secondary file is handled relative to the main file.
The exact names of the files containing the html topics, and their full path, are logged in the .ali file generated when the help is compiled.
Copyrights Ι ©Hardis Group 2025 - Any partial or total reproduction of the content, not expressly authorized by Hardis Group, is strictly prohibited.