Depending on the underlying framework, for instance MFC or ATL, there may already be a certain set of functionality that supports HTML Help.

In this example, the MFC Framework was chosen as an application container; the functions to call the HTML Help control can be found in the class HtmlHelp, which is part of the header file MsHelp.h. The functions provided by this class show how to call the HTML Help control directly, and can be easily extended.

A working example for Microsoft Visual C++ can be found in the Help Producer distribution at the following location:

C:\Program Files\MGTEK\Help Producer\Examples\Programming\C++ MFC

To build the example, do the following:

  1. Open the project file HtmlHelp.dsw or HtmlHelp200x.vcprj in Microsoft Visual Studio.
    Note   Depending on your version of Visual Studio, choose the appropriate solution file.
  2. Build the project or solution, and run the executable.

See Also

Application Help Provider