3 ms·
Not with the Win32 backend, since those widgets themselves don't have that notion. Qt backend should be able to do that, though (but then of course you need al
by int_19h 2y ago
Not with the Win32 backend, since those widgets themselves don't have that notion.
Qt backend should be able to do that, though (but then of course you need all those Qt DLLs).
- api 2y agoWindows widgets don’t have dark mode support on Windows?
- 0points 2y ago> Not with the Win32 backend, since those widgets themselves don't have that notion.
- okanat 2y agoWin32 ones don't only new WinUI ones do (similar to GTK2 vs GTK3+). You need to add that coloring manually. You can query the dark mode with Win32-only API[1] but you need to make your own styles or you can use undocumented APIs (that can break anytime) that Microsoft uses internally for the applications shipped with Windows[2] [1]: https://learn.microsoft.com/en-us/windows/win32/winmsg/wm-wininichange https://learn.microsoft.com/en-us/windows/win32/winmsg/wm-wi... [2]: https://github.com/ysc3839/win32-darkmode https://github.com/ysc3839/win32-darkmode
- notpushkin 2y ago(GTK 2 does support dark themes, of course, it just doesn’t have a concept of “light/dark theme variants” natively. And come to think of it, it’s the same in Win32: see e.g. the Zune theme for Windows XP.)