Click to return to the HTML Help home page    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

HH_ALINK_LOOKUP Command


Microsoft Corporation

Updated June 10, 1999

Looks up one or more Associative link (ALink) names in a compiled help (.chm) file.

The ALink names 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 ALink names. 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_ALINK_LOOKUP,
          (DWORD) &link) ;

Return Value

The handle (hwnd) of the help window.

Comments

See Also

HH_KEYWORD_LOOKUP


link to overview topic About commands
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.