jassource.blogg.se

Compiled html help file
Compiled html help file









compiled html help file

The simplest (and most common) is the HH_DISPLAY_TOPIC command, which displays help like normal, and allows the user to view and interact with the help module. The "uCommand" may contain a number of different commands, some of which are very complicated and involved. The "pszFile" parameter is the filename of the target help module. If you set this to NULL, the help window will essentially be autonomous. If you set this parameter, the help window will be a child of your window, and can communicate with it. The first parameter is the handle to the calling (parent) window. This function returns a handle to the html help window, and your program can interact with this window at a relatively high level, if you want it to. HWND WINAPI HtmlHelp(HWND hwndCaller, LPCTSTR pszFile, UINT uCommand, WORD_PTR dwData)

compiled html help file

Htmlhelp.h defines a single function, HtmlHelp that can be called from inside your program: Windows.h must be included before the Htmlhelp.h file, or the compiler will spew out errors. The HTML Help Workshop comes with a header file ("htmlhelp.h") and a library file ("htmlhelp.lib") that must be utilized in your project to be able to call HTML help modules from your program.

compiled html help file

Pages in a help module may use hyper links to link to other pages in the module, other files on the computer, or even resources from the internet.

compiled html help file

A default page may be chosen to be displayed when the Help Module is first loaded. The Help Workshop contains a number of different options, as to whether you want to include an index window, if you want to allow searching and indexing, if you want to have a Table of Contents, et cetera. HTML, CSS and JavaScript are languages that are very well suited for graphical applications, but the functionality is far less then C or VB. This is the same exact HTML that is used in writing web pages, so people with web experience will have a leg up creating HTML help modules. HTML help modules can be compiled from source files containing a mixture of HTML, DHTML, CSS and JavaScript.











Compiled html help file