View Single Post
Old 30th September 2020, 01:45   #3
Nutzzz
Member
 
Join Date: May 2007
Location: Orange County, CA, U.S.A.
Posts: 73
Yeah, it looks like what Microsoft did with the File Explorer is a bit of a hack-job and not an extensible solution.

Maybe it's not the best solution, but you could check the value in "AppsUseLightTheme" in regkey "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" and then use SkinnedControls (or UltraModernUI which includes it) with defines for both possibilities. However, I'm not sure whether those defines can be changed at runtime [though I haven't yet tried very hard]. In any case, it's really easy to make a flat Win10 look (and I've already done it for UMUI, both dark and light versions, if anyone doesn't want to re-invent those wheels).

Somewhat apropos: I've been slowly working on some new UIs inspired by the Visual Studio installer using UMUI as a base that would definitely benefit from dark/light awareness.
Nutzzz is offline   Reply With Quote