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

When cloning this sample and building the existing code the initial window is white #13

Closed Skewjo closed 3 years ago

Skewjo commented 3 years ago

My apologies for posting this issue without doing a bit of troubleshooting. I've been attempting to implement/research how to create a dark mode for my app for 3 days and have been mostly unsuccessful.

When I clone, build, and run this project the window appears to be the default Window color. image

Is this sample just using some pre-defined theme that I have to have changed in my Windows user settings or something similar? Or have I maybe built it incorrectly?

image

ysc3839 commented 3 years ago

Did you turn on dark mode in Settings?

Skewjo commented 3 years ago

From a settings menu in the dialog box, or a Windows setting? Because there doesn't appear to be a dark mode setting inside of the dialog box.

ysc3839 commented 3 years ago

Windows Settings.