Products Downloads


French version


 

VaToolBxHtmlHelp

 

The help system is initialized using the HH_INITIALIZE and HH_UNINITIALIZE commands.

 

The HH_INITIALIZE and HH_UNINITIALIZE functions MUST be called at the start and end of the process, respectively. These functions must be called in the Visual Adelia application's launcher program (menu).

 

Example

// the cookie value is supplied by HH_INITIALIZE and used by HH_UNINITIALIZE

NUM_BIN_4 Cookie

 

INIT_PGM

/* The help system must first be initialized:

CmdNum = 1 /* HH_INITIALIZE

FileName = *BLANK

 

CALL_DLL 'VaToolBx.dll' 'VaToolBxHtmlHelp' ID_WIN0 FileName CmdNum Cookie OnDesktop ReturnCode

 

/* Continue with actual processing (window displays, subprogram calls, etc.):

INITIALIZE MenuWin

EXECUTE MenuWin

....

 

/* End by releasing the help system:

CmdNum = 2 /* HH_UNINITIALIZE

FileName = *BLANK

 

CALL_DLL 'VaToolBx.dll' 'VaToolBxHtmlHelp' ID_WIN0 FileName CmdNum Cookie OnDesktop ReturnCode

 

 

↑ Top of page

  • Aucune étiquette