HH_KEYWORD_LOOKUP command

Looks up one or more keywords in a compiled help (.chm) file.

The keywords to search for and the action to be taken if no matches are found are specified in the HH_AKLINK structure.


pszFile dwData

Specifies the compiled help (.chm) file that contains keywords.

Points to an HH_AKLINK structure.


Example


HH_AKLINK link;

link.cbStruct = sizeof(HH_AKLINK) ;
link.fReserved = FALSE ;
link.pszKeywords = "open" ;
link.pszUrl = NULL ;
link.pszMsgText = NULL ;
link.pszMsgTitle = NULL ;
link.pszWindow = NULL ;
link.fIndexOnFail = TRUE ;

HtmlHelp(
GetDesktopWindow(),
"c:\\myhelp.chm",
HH_KEYWORD_LOOKUP,
(DWORD)&link);

Return Value

The handle (hwnd) of the help window.

Comments

See Also

HH_ALINK_LOOKUP


link to overview topic About commands