Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Please check the list of 2019.1 changes
Next Topic: Getting hands dirty with Win32 TLS
Goto Forum:
  


Current Time: Thu Apr 25 23:10:03 CEST 2024

Total time taken to generate the page: 0.47662 seconds