BTW, isn't it better to remove the +/- squares in your darkhelp2 ?
Maybe - but I don't know how to do that - they don't seem to be generated with html or css, so there Isn't any non binary file I can just edit , as I do to make the changes I have made.
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
white wrote:BTW, isn't it better to remove the +/- squares in your darkhelp2 ?
Have ave made a version ( based on https://www.totalcommander.ch/help/totalcmd_chm.zip )where I have removed the +/- symbols and replaced the book icons with folder icons. It is more intuitive to double-click on a folder to open it.
petermad wrote: 2023-07-25, 09:49 UTC
Have ave made a version ( based on https://www.totalcommander.ch/help/totalcmd_chm.zip )where I have removed the +/- symbols and replaced the book icons with folder icons. It is more intuitive to double-click on a folder to open it.
Well normally, if you don't click the +/- buttons, you must use double-click to open a book. It's not new behavior. I don't like the folder icons. I suggest to replace the icons anyway for dark help, especially the icon for a help page.
Personally, I don't like the double-click behavior of chm files in general. Do you know you can enable single-click to open a book? Do you know you can also enable mouse-tracking so underlining appears when you hover over a book or help page link?
AnthonyD wrote:But what about the dark theme - isn't it literally too black?
Maybe a little lighter can set the tone?
I use the same colors: DCDCDC / 202020 for foreground / background as TC uses by default for dark mode (with a fresh ini).
white wrote:Do you know you can enable single-click to open a book? Do you know you can also enable mouse-tracking so underlining appears when you hover over a book or help page link?
I know it is possible, but since I don't use a compiler, I need to know the code for these things.
<style>
/* Change the font and background color of the TOC items */
.treeItem {
color: #0000ff; /* Blue text color */
background-color: #ffffcc; /* Light yellow background color */
}
/* Change the font and background color of the selected TOC item */
.treeItemSelected {
color: #ffffff; /* White text color */
background-color: #007bff; /* Blue background color */
}
</style>
inside the file hsc6C4.hhc? As we know - this is the pure HTML-based file with all appropriate tags. And exactly this file is presented the content at the tab "Content" on the left panel of the opened chm file.
<style>
/* Change the font and background color of the TOC items */
.treeItem {
color: #0000ff; /* Blue text color */
background-color: #ffffcc; /* Light yellow background color */
}
/* Change the font and background color of the selected TOC item */
.treeItemSelected {
color: #ffffff; /* White text color */
background-color: #007bff; /* Blue background color */
}
</style>
inside the file hsc6C4.hhc? As we know - this is the pure HTML-based file with all appropriate tags. And exactly this file is presented the content at the tab "Content" on the left panel of the opened chm file.
I have now tried that - no effect.
AntonyD wrote: 2023-07-25, 13:25 UTC
Also we may try to change its content this way:
white wrote:Do you know you can enable single-click to open a book? Do you know you can also enable mouse-tracking so underlining appears when you hover over a book or help page link?
I know it is possible, but since I don't use a compiler, I need to know the code for these things.
Unbelievable - but https://i.imgur.com/o9hO2u4.png - is a real CHM file - not a current, "modern-styled" help, but exactly old-fashion CHM file - which does have the "dark" theme... So somehow it was possible to do that even in those ancient times...
We just lost some of our knowledge about this trick.
petermad wrote: 2023-07-25, 15:08 UTC
There was an MS report http://support.microsoft.com/?kbid=267973 that said that it is not possible to chnage the background color ot thr TOC items - but MS has removed all these bulletins in 2020.