Page 1 of 1

Help .chm in separate process

Posted: Sat Dec 14, 2019 10:11 pm
by NotNull
I am using the Everything.chm help file.
Normally I start the chm with a filemanager, but when I forget and accidentally press F1 instead, Everything opens the chm help file in the same process.
And that causes it to be "in the way" when switching tasks (and that's why I start the help independently).

Suggestion: Start the chm help file in it's own process when F1 is pressed.

(and if you did it the current way because pressing F1 multiple times caused the chm to be opened multiple times, I do have a solution for that (although I would have to think really hard as it was a very long time since I last used that))

Re: Help .chm in separate process

Posted: Sat Dec 14, 2019 10:23 pm
by void
Currently Everything launches the chm help file with htmlHelp

Code: Select all

HtmlHelp(<parent window handle>,<path to Everything.chm>,HH_DISPLAY_TOPIC,0);
I've added to my TODO list: add a command line option -htmlhelp to launch the Everything.chm -do not create any Everything Search windows, just host the Everything.chm. Pressing F1 should start a new instance of Everything with the -htmlhelp command line option.

Thanks for the suggestion.

Re: Help .chm in separate process

Posted: Sat Dec 14, 2019 10:29 pm
by NotNull
Or ShellExecute(everything.chm)?
(ShellExecute is a placeholder for the actual function; no idea what it's called)

Nevermind .. no more automatic switching from online to offline help ...