T
trevors_decoy
Hi,
my Delphi app displays help (stored in a .CHM file) by calling the
hhctrl.ocx HtmlHelpA() function:
First with HH_INITIALIZE (passing NULL as the caller window)
Then with HH_DISPLAY_TOPIC
This creates and displays a window with the requested topic, as
expected. However, in the right-hand pane of this window, I cannot use
Ctrl/F to search for a piece of text *within* the displayed topic - the
Ctrl/F is ignored.
As an alternative, I can display the required help topic by calling
CreateProcess() to launch HH.EXE. This also displays the requested
topic, and in this window Ctfl/F works just fine.
However, launching HH.EXE creates a new window each time - it doesn't
reuse an existing window if one is showing, like HtmlHelp() does.
Is there any way of displaying a topic stored in a .CHM file that takes
notice of Ctrl/F, and also reuses an existing htmlhelp window if one is
already showing?
my Delphi app displays help (stored in a .CHM file) by calling the
hhctrl.ocx HtmlHelpA() function:
First with HH_INITIALIZE (passing NULL as the caller window)
Then with HH_DISPLAY_TOPIC
This creates and displays a window with the requested topic, as
expected. However, in the right-hand pane of this window, I cannot use
Ctrl/F to search for a piece of text *within* the displayed topic - the
Ctrl/F is ignored.
As an alternative, I can display the required help topic by calling
CreateProcess() to launch HH.EXE. This also displays the requested
topic, and in this window Ctfl/F works just fine.
However, launching HH.EXE creates a new window each time - it doesn't
reuse an existing window if one is showing, like HtmlHelp() does.
Is there any way of displaying a topic stored in a .CHM file that takes
notice of Ctrl/F, and also reuses an existing htmlhelp window if one is
already showing?