Dark Mode for apps in Win 10?
Posted: Sat Oct 06, 2018 2:14 pm
Had a customer email me asking if my app will support Win 10's new "Dark Mode", because his PC is set to that mode but my app still shows as white to him. I'd never heard of it, until I read this article:
https://www.howtogeek.com/222614/how-to ... ark-theme/
It says in part: "it's up to each developer to support Dark Mode, and many do not. And, as we mentioned before, this option doesn’t affect most desktop applications. Those remain white."
I added bold to the quote above, as it relates directly to us as PureBasic developers, and we need to officially support this now. Damn.
So, anyone know how to do this? I did some research but it appears not:
https://stackoverflow.com/questions/513 ... pplication
Quoting this link: "it looks like this option is not exposed to regular win32 applications directly, however it can be set / retrieved through HKCU(HKLM)\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\AppsUseLightTheme registry key."
And this page here:
https://github.com/Microsoft/winfile/issues/63
Says: "Win32 apps can add support the lite/dark mode switch as well very easily. They just need to manually "supply" their own theming. Just take a look at paint.net. It now has a dark mode that honors Windows 10's mode setting and can be set to dynamically switch based on the settings app or be set to always be dark or lite. But the software author had to manually design the look of the dark mode."
Anyone know what he means by "supply their own theming"? Hopefully just some file next to our exe? Dunno.
https://www.howtogeek.com/222614/how-to ... ark-theme/
It says in part: "it's up to each developer to support Dark Mode, and many do not. And, as we mentioned before, this option doesn’t affect most desktop applications. Those remain white."
I added bold to the quote above, as it relates directly to us as PureBasic developers, and we need to officially support this now. Damn.

https://stackoverflow.com/questions/513 ... pplication
Quoting this link: "it looks like this option is not exposed to regular win32 applications directly, however it can be set / retrieved through HKCU(HKLM)\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\AppsUseLightTheme registry key."
And this page here:
https://github.com/Microsoft/winfile/issues/63
Says: "Win32 apps can add support the lite/dark mode switch as well very easily. They just need to manually "supply" their own theming. Just take a look at paint.net. It now has a dark mode that honors Windows 10's mode setting and can be set to dynamically switch based on the settings app or be set to always be dark or lite. But the software author had to manually design the look of the dark mode."
Anyone know what he means by "supply their own theming"? Hopefully just some file next to our exe? Dunno.