Improve Dark Help for TC
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Improve Dark Help for TC
Yes, but you can't just inject that code into the regular help viewer. DrawItem is being called for each line of the index drawn in the list. You can't just intercept it and call SetTextColor and then call the original DrawItem, because it calls SetTextColor too, which would override what we called.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00rc1] Crash when using Help > Index > Keyword
2white
There is a problem with using this - it is not excactly a single-click option but an "expand only single heading" option and that means that it is not possible is to expand more than one item at the time - if you click on one item, the previous opened item is collapsed again - I find that problematic.white wrote: 2023-07-25, 17:52 UTC The codes are:
- add "0x000400" for single-click mode
- add "0x000200" for mouse-tracking
The value for Window Styles is hex format. Here is the decryption:
PARAM name = "Window Styles" value = "0xb0daec"
where:
c:
bit 1 - Plus / Minus squares | Plus / minus squares
bit 2 - Draw lines between items | Draw lines between elements of
bit 4 - Start line from the root | Start line from root element
e:
bit 2 - Show selection when focus lost | Show selection when focus is lost
Better to set - otherwise, with the Hide / Show combination, the current topic will not be displayed.
a:
bit 4 - Only expand a single heading | Expand only a single header
i.e. Automatically expand headings with sections when selected.
bit 2 - Automatically track selection | Automatically underline element
bit 1 - Put checkboxes (but why?) ...
d:
bit 1 - Select entire row | Highlighting a full line (useful thing)
only if the Draw lines between items
b style is not selected :
bit 8 - Border | Frame (only meaningful for Dialog Frame)
bit 4 - Dialog Frame | Dialog box
Example:
Total for 0x800627 we have:
8 - (Border)
6 - 4 + 2 (Only expand a single heading, Automatically track selection)
2 - (Show selection when focus lost)
7 - 4 + 2 + 1 (Plus / Minus squares, Draw lines between items, Start line from the root)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Improve Dark Help for TC
You can still click on "+" or use the keyboard to keep multiple items open.if you click on one item, the previous opened item is collapsed again - I find that problematic.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00rc1] Crash when using Help > Index > Keyword
I know the behavior. I personally don't find it problematic.petermad wrote: 2023-08-02, 12:48 UTC There is a problem with using this - it is not excactly a single-click option but an "expand only single heading" option and that means that it is not possible is to expand more than one item at the time - if you click on one item, the previous opened item is collapsed again - I find that problematic.
Re: Improve Dark Help for TC
2ghisler(Author)
With <param name="Window Styles" value="0x800420">, as proposed by white for Dark help, the +'s are hidden. But keyboard navigation and Enter works with hidden +'sYou can still click on "+" or use the keyboard to keep multiple items open.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Improve Dark Help for TC
When using the keyboard I like to use the arrow keys to navigate the books, no need to use the Enter key for that.petermad wrote: 2023-08-02, 19:20 UTC With <param name="Window Styles" value="0x800420">, as proposed by white for Dark help, the +'s are hidden. But keyboard navigation and Enter works with hidden +'s
Re: Improve Dark Help for TC
Ahh, yes the right / left arrow opens a closes the bookWhen using the keyboard I like to use the arrow keys to navigate the books, no need to use the Enter key for that.

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Improve Dark Help for TC
New Dark Helpfiles available: https://ghisler.ch/board/viewtopic.php?p=438548#p438548
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Improve Dark Help for TC
https://ibb.co/HgMmT93
can you mark keys and sections that can only be changed by directly editing the INI file ?
can you mark keys and sections that can only be changed by directly editing the INI file ?
OS: Win10 | TC: latest x64
Re: Improve Dark Help for TC
What does that have to do with the Dark Help?KozakMak wrote: 2023-08-03, 08:27 UTC https://ibb.co/HgMmT93
can you mark keys and sections that can only be changed by directly editing the INI file ?
Are you maybe referring to this: viewtopic.php?p=438524#p438524

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar