Darkmode: Color of Directory hotlist [*] and History list [↓]

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
JOUBE
Power Member
Power Member
Posts: 1471
Joined: 2004-07-08, 08:58 UTC

Darkmode: Color of Directory hotlist [*] and History list [↓]

Post by *JOUBE »

In Darkmode the color of the Directory hotlist [*] and History list [↓] seems to be hardcoded and not changeable like other elements:

[ColorsDark]
....
DarkForeground=12345
DarkHighlight=12345
DarkBackground=12345678

JOUBE
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Darkmode: Color of Directory hotlist [*] and History list [↓]

Post by *ghisler(Author) »

Are you on Windows 10 1809 or newer? Then these menus are drawn by Windows, and their color cannot be changed.
Btw, on older Windows versions these menus are bright gray.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1471
Joined: 2004-07-08, 08:58 UTC

Re: Darkmode: Color of Directory hotlist [*] and History list [↓]

Post by *JOUBE »

ghisler(Author) wrote: 2019-11-01, 15:38 UTC Are you on Windows 10 1809 or newer?
Yes
ghisler(Author) wrote: 2019-11-01, 15:38 UTC Then these menus are drawn by Windows, and their color cannot be changed.
Btw, on older Windows versions these menus are bright gray.
Why? I do not understand this.

This (initiating the darkmode) is the moment to change this behavior and make these menus indipendent from Windows colors.

JOUBE
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Darkmode: Color of Directory hotlist [*] and History list [↓]

Post by *ghisler(Author) »

These are not owner drawn menus. This means that TC just tells Windows "Show a context menu", and Windows does the rest.

There are other dialog elements drawn by Windows with its own colors:
- scrollbars in listboxes
- the main menu in TC 32-bit when not using icons
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1471
Joined: 2004-07-08, 08:58 UTC

Re: Darkmode: Color of Directory hotlist [*] and History list [↓]

Post by *JOUBE »

ghisler(Author) wrote: 2019-11-04, 11:39 UTC These are not owner drawn menus. This means that TC just tells Windows "Show a context menu", and Windows does the rest.

There are other dialog elements drawn by Windows with its own colors:
- scrollbars in listboxes
- the main menu in TC 32-bit when not using icons
It should be possible to set these colors by the Tc

JOUBE
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Darkmode: Color of Directory hotlist [*] and History list [↓]

Post by *ghisler(Author) »

Unfortunately Windows does not allow that.
Author of Total Commander
https://www.ghisler.com
Post Reply