In the development of the application, we can use the CHM's help document for better ways to better use this software. So how do you better make CHM documents into your application? The author talks about a simple and convenient method for reference.
In Win9.x's System Directory (or Win2000's System32 Directory) can find hhctrl.ocx files, although this file is ActiveX, but it can also be used as a DLL dynamic link library, but it must be in IE4.0 provide. By analyzing the hhctrl.ocx file, it can be seen that it provides an HTMLHELPA function to call the CHM file.
First, in the Implementation, make the following statement:
Function HTMLHELPA (HWNDCALLER: THANDLE; PAZFILE: STRING;
Ucommand, Dwdata: DWORD: DWORD; stdcall extel 'hhctrl.ocx';
Then you can use it, for example:
Htmlhelpa (Handle, 'C / Winnt / Help / Access.chm', 0, 0);
Very simple, try it, you must join this simple function for your program!