THHNNotify

Contains information about a notification that occured.

Used by:
HHN_NAVCOMPLETE
HHN_WINDOW_CREATE

Declaration:

PHHNNotify = ^THHNNotify;
tagHHN_NOTIFY = packed record
  hdr: NMHDR;
  pszUrl: PCSTR;
end;
HHN_NOTIFY = tagHHN_NOTIFY;
THHNNotify = tagHHN_NOTIFY;

Description:
This record is used by HHN_NAVCOMPLETE and HHN_WINDOW_CREATE notifications. In both cases the hdr member contains a standard WM_NOTIFY header but the pszUrl member has a different meaning depending on the notification code, see the table above. Note that the URL in the pszUrl member in case of the HHN_NAVCOMPLETE is a completely expanded URL which will often look something like this: ms-its:D:\Helpware\Htmlhelp\Helpware%20Examples\TestCHM\help.chm::/Agent/Genie.htm
Note the prepended ms-its: which is the protocol used by HTML Help. Also note the %20 which replaces a space. Keep these mind if you parse the URL.

Member Description
hdr Standard WM_NOTIFY header. See the Win32 help file or the Platform SDK
pszUrl Zero terminated string that specifies the topic navigated to (HHN_NAVCOMPLETE) or the name of the window that is being created (HHN_WINDOW_CREATE).