HH_DISPLAY_INDEX
Displays the index tab at a specific topic.
Argument | Description |
---|---|
hwndCaller | Handle of the owner window or 0 |
pszFile | HTML Help URL: Compiled help (.chm) file |
uCommand | HH_DISPLAY_INDEX |
dwData | The keyword to search for |
Return value:
On result the handle of the helpwindow opened. On failure 0. HH_GET_LAST_ERROR does
not return usefull information except when the helpfile could not be found.
Description:
The HH_DISPLAY_INDEX command displays the Index tab of the specified helpfile and
selects the specified keyword. If the keyword does not exist then the closest match is
selected. Note that this command does not actually display the topic associated with the
keyword, instead it always displays the default topic.
Example:
HtmlHelp(0, PChar('JediHtmlHelp.chm'), HH_DISPLAY_INDEX, DWORD(PChar('Commands')));
Notes:
If the helpfile does not have an index the call will succeed and the helpfile will be
shown anyway
See also:
HH_DISPLAY_TOC
HH_DISPLAY_SEARCH