ysc3839 / win32-darkmode

Example application shows how to use undocumented dark mode API introduced in Windows 10 1809.
MIT License
437 stars 48 forks source link

Windows 11? #19

Closed God-damnit-all closed 2 years ago

God-damnit-all commented 2 years ago

Did Windows 11 break any of this functionality in any way?

rounk-ctrl commented 2 years ago

No, not really

DRSDavidSoft commented 1 year ago

In DarkMode.h file and function InitDarkMode(), there is an if condition that explicitly checks for Windows 10 and some build numbers. You have to remove it or modify it to work on Windows 10, otherwise it says "Dark mode is not supported".

Update: I found #23