|
|
Home » Developing U++ » U++ Developers corner » DarkTheme support
Re: Please check the list of 2019.1 changes [message #51155 is a reply to message #51154] |
Tue, 12 February 2019 09:30 |
Tom1
Messages: 1212 Registered: March 2007
|
Senior Contributor |
|
|
Hi Mirek,
On Windows 10 the 'Classic' theme on TheIDE was better than 'Host platform' but not perfect. The package list and file list still use black font on my dark gray background. Menu's become readable.
I have now looked a bit deeper at the Microsoft documentation to find out about the "Dark Theme". It seems the new way, that has replaced system colors, is called 'Visual Styles'. And as far as my googling went, there is no easy way to get the Windows 10 desktop completely into a dark theme. While the new Windows Store apps (or UWP apps) support the Windows 10 Dark theme (default app mode) setting, the desktop applications are generally not aware of that at all. And Windows does not help by making similar changes to old school system colors, so they are not in sync. And most Windows desktop apps only read those old system colors, so they cannot follow the current theme. It seems to me that the Desktop applications are pretty much on their own.
If there's a way to read (in a Desktop application) the 'Settins>Personalization>Colors>Choose your default app mode: Light/Dark' -flag and the selected 'Accent color', then resolving the rest of the colors to fit the landscape should be possible to some extent. Maybe this would solve the Windows 10 specific dark theme problem. But is it worth the trouble? Most applications are not usable with dark themed system colors on Windows 10 anyway.
Best regards,
Tom
EDIT: There is a way to detect Windows 10 dark/light theme setting: In registry " Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\Curren tVersion\Themes\Personalize\AppsUseLightTheme " contains 1 for light or 0 for dark. (Found it in https://stackoverflow.com/questions/51334674/how-to-detect-w indows-10-light-dark-mode-in-win32-application)
EDIT2: And more in registry: "Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" contains Windows 10 colorization color and accent color entries along with other related info.
[Updated on: Tue, 12 February 2019 11:29] Report message to a moderator
|
|
|
|
|
DarkTheme support
By: Tom1 on Fri, 08 February 2019 16:17
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Mon, 11 February 2019 11:52
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Mon, 11 February 2019 16:19
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Mon, 11 February 2019 21:03
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 12 February 2019 09:30
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 12 February 2019 12:44
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Tue, 12 February 2019 13:01
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 12 February 2019 13:50
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Tue, 12 February 2019 14:02
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Tue, 12 February 2019 14:15
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 12 February 2019 15:26
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Thu, 21 February 2019 09:52
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 12 February 2019 15:02
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Wed, 13 February 2019 09:38
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Wed, 13 February 2019 10:30
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Tue, 19 February 2019 12:10
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Tue, 19 February 2019 13:30
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Thu, 21 February 2019 09:53
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Fri, 22 February 2019 08:40
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Fri, 22 February 2019 19:04
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Thu, 07 March 2019 14:51
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Wed, 13 March 2019 00:16
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Wed, 13 March 2019 12:15
|
|
|
Re: Please check the list of 2019.1 changes
By: Klugier on Sun, 17 March 2019 02:05
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Sun, 17 March 2019 10:15
|
|
|
Re: Please check the list of 2019.1 changes
By: Klugier on Sun, 17 March 2019 11:54
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Sat, 23 March 2019 23:31
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Sun, 24 March 2019 09:53
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Sun, 24 March 2019 23:10
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Mon, 25 March 2019 11:45
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Mon, 25 March 2019 11:51
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Mon, 25 March 2019 12:29
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Mon, 25 March 2019 14:02
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Fri, 29 March 2019 09:30
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Fri, 29 March 2019 10:54
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Fri, 29 March 2019 16:31
|
|
|
Re: Please check the list of 2019.1 changes
By: mirek on Sat, 30 March 2019 10:22
|
|
|
Re: Please check the list of 2019.1 changes
By: Tom1 on Sat, 30 March 2019 12:50
|
Goto Forum:
Current Time: Thu Apr 25 23:10:03 CEST 2024
Total time taken to generate the page: 0.47662 seconds
|
|
|