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 #51211 is a reply to message #51196] Thu, 21 February 2019 09:53 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Tom1 wrote on Tue, 19 February 2019 13:30
Hi Mirek,

I only just a couple of days ago updated my Windows 10 to version 1809, which introduced Dark Theme support in Windows File Explorer, which is not a store app, but a desktop application. (This was not available in 1803.) This IMO proves that Microsoft is just in the middle of transition of Windows 10 desktop theming. (E.g. Wordpad and Notepad do not have a clue about the Light/Dark mode.) I would expect Microsoft to release some documentation about how this Dark/Light theme support is supposed to be done on Windows 10 with desktop applications. (Unless they have and I just could not find it, of course.)

I think the non-client areas are controlled by DWM which can use the user selected accent color to draw the caption. Just select "Personalize > Colors > Show accent color on the following surfaces > [V] Title bars and window borders". And this is up to Windows and the user to select and handle anyway. U++ is only responsible for painting the client area.

-

In my opinion, just basic handling of Dark/Light theme in a way that makes the application to fit in is enough. In case of Windows 10, it is all about using the knowledge of Windows Dark/Light mode, the Colorization color and the Accent color. (For those functions I posted the code earlier here.) Everything else could be solved from there. Nothing fancy, just the basics.

-

In the end of the day, this is not a high priority issue for me. I can largely live on light theme too. I just have the feeling that the dark theme is slowly emerging and it will need sufficient support, but maybe not this month yet.

Best regards,

Tom


Well, I have meanwhile found that you can actually activate correct windows captions in settings, so the game is back on... Smile

The key now is the fact that we can detect that system colors do not correspont to dark mode settings and adjust everything accordingly.
 
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: Sat Apr 20 12:43:35 CEST 2024

Total time taken to generate the page: 0.02102 seconds