Windows 10+ Darkmode

Organizing tasks to work on, New Features Ideas, Building LCS & LCB Libraries & Widgets, Redecorating and Modifying the IDE, Hacking / Editing Tools, Compiling the Engine from Source, etc.
Post Reply
User avatar
OpenXTalkPaul
Posts: 1485
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Windows 10+ Darkmode

Post by OpenXTalkPaul »

So it seems Microsoft still hasn't documented (nor completed) the "Darkmode" in Win32 API, and may never.
But it seems a few people did some disassembling and worked out the calls needed (which depends on Win10 build):
I'm thinking these could be made into an Builder extension:
https://github.com/ysc3839/win32-darkmo ... e-stub.cpp
https://github.com/ysc3839/win32-darkmo ... rkmode.cpp

Wow MS is a PIA! On macOS it's a single call to a method in the App object to make the entire app go dark or light instantly!

Of course custom controls, which our IDE uses a lot of, may still need to be edited to look appropriate for the theme regardless if its Mac, Win or Lin. TIP: We do have property inheritance, so you may be able to set fore/backColor on a Group to effect a bunch of controls (such has been the case editing "Resource Center").
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests