Windows 10 supposedly gives developers the freedom to change their own titlebar colors. I have found a few resources on how to do this for Windows Store apps (here, here).
But what is the underlying Windows API function for it? How can this effect be achieved in native C++?
Click on the title bar the sample desktop, the one called "Active Window", and then use the "Color 1" and "Color 2" drop-down boxes to pick a new color.
Here is how it can be done. To enable Dark Title Bars with Custom Accent Color in Windows 10, do the following. Open Settings and navigate to Personalization > Colors. Turn off (uncheck) the Title bars and window borders option.
It is now done with DWM : Custom Window Frame Using DWM
(tested on Windows 10 in C++, C# and VB.NET by drawing gradient caption bars)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With