Help .chm in separate process

Have a suggestion for "Everything"? Please post it here.
Post Reply
NotNull
Posts: 1790
Joined: Wed May 24, 2017 9:22 pm

Help .chm in separate process

Post by NotNull » Sat Dec 14, 2019 10:11 pm

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))

void
Site Admin
Posts: 5148
Joined: Fri Oct 16, 2009 11:31 pm

Re: Help .chm in separate process

Post by void » Sat Dec 14, 2019 10:23 pm

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.

NotNull
Posts: 1790
Joined: Wed May 24, 2017 9:22 pm

Re: Help .chm in separate process

Post by NotNull » Sat Dec 14, 2019 10:29 pm

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 ...

Post Reply