Products Downloads


French version


 

VaToolBxHtmlHelp

 

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.

 

↑ Top of page

  • Aucune étiquette