CALL "$WINHELP" USING helpFile opCode parameters GIVING returnCode |
helpFile | Name of the help file | |
opCode | Function to be executed. Valid values, defined in iswinhelp.def, are: | |
Display the topic specified by the Contents option in the [OPTIONS] section of the .hpj file. | ||
Display the topic identified by the specified context identifier defined in the [MAP] section of the .hpj file. | ||
Display the topic identified by the specified context identifier defined in the [MAP] section of the .hpj file in a pop-up window. | ||
Display the Help Topics dialog box. | ||
Display help on how to use Windows Help, if the Winhlp32.hlp file is available. | ||
Inform Windows Help that it is no longer needed. If no other applications have asked for help, Windows closes Windows Help. | ||
parameters | Parameters depend on the opcode. |
working-storage section. copy "iscoblib.def". 77 path-help pic x(255). ... procedure division. ... display-help. move "c:\myapp\mydocs\help.hlp" to path-help call "$winhelp" using path-help , help-contents. |