THHFtsQuery

This record is used for Full Text Search and passed as the dwData parameter for the HH_DISPLAY_SEARCH command.

Used by:
HH_DISPLAY_SEARCH

Declaration:

PHHFtsQuery = ^THHFtsQuery;
tagHH_FTS_QUERY = packed record
  cbStruct: Integer;
  fUniCodeStrings: BOOL;
  pszSearchQuery: LPCTSTR;
  iProximity: LongInt;
  fStemmedSearch: BOOL;
  fTitleOnly: BOOL;
  fExecute: BOOL;
  pszWindow: LPCTSTR;
end;
HH_FTS_QUERY = tagHH_FTS_QUERY;
THHFtsQuery = tagHH_FTS_QUERY;

Description:
The THHFtsQuery record is used to specify the search parameters for the HH_DISPLAY_SEARCH command.

Member Description
cbStruct Specifies the size of this record and is used for versioning. Use the SizeOf operator to set this member before passing it to the HtmlHelp function
fUniCodeStrings True if all strings are Unicode, otherwise False
pszSearchQuery String containing the search query
iProximity Word proximity. Must be set to HH_FTS_DEFAULT_PROXIMITY
fStemmedSearch True for stemmed search only
fTitleOnly True for title search only
fExecute True to initiate the search
pszWindow Window to display in

Notes:
The HH_DISPLAY_SEARCH which uses this record, does not appear to work in this version of HTML Help. The only thing you can do is select the search tab but actually initiating a search does not appear to work.