Click to return to the HTML Help home page    
API Structures Overview     HH_FTS_QUERY     HTML Help API Reference    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

HH_AKLINK Structure


Microsoft Corporation

Updated June 10, 1999

Use this structure to specify one or more ALink names or KLink keywords that you want to search for.

If the lookup yields no matching topics, HtmlHelp() checks the values of the following HH_AKLINK members to determine what alternative action to take:

Used by

HH_AKLINK structure syntax

typedef struct tagHH_AKLINK

{
int cbStruct;
BOOL fReserved;
LPCTSTR pszKeywords;
LPCTSTR pszUrl;
LPCTSTR pszMsgText;
LPCTSTR pszMsgTitle;
LPCTSTR pszWindow;
BOOL fIndexOnFail;
} HH_AKLINK;

Member Description
cbStruct Specifies the size of the structure. This value must always be filled in before passing the structure to the HTML Help API.
fReserved This parameter must be set to FALSE.
pszKeywords Specifies one or more ALink names or KLink keywords to look up. Multiple entries are delimited by a semicolon.
pszUrl Specifies the topic file to navigate to if the lookup fails. pszURL refers to a valid topic within the specified compiled help (.chm) file and does not support Internet protocols that point to an HTML file.
pszMsgText Specifies the text to display in a message box if the lookup fails and fIndexOnFail is FALSE and pszURL is NULL.
pszMsgTitle Specifies the caption of the message box in which the pszMsgText parameter appears.
pszWindow Specifies the name of the window type in which to display one of the following:
  • The selected topic, if the lookup yields one or more matching topics.
  • The topic specified in pszURL, if the lookup fails and a topic is specified in pszURL.
  • The Index tab, if the lookup fails and fIndexOnFail is specified as TRUE.
fIndexOnFail Specifies whether to display the keyword in the Index tab of the HTML Help Viewer if the lookup fails. The value of pszWindow specifies the Help Viewer.

Comments


link to overview topic About structures
 



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.