is there any way to find out the current theme color set for the Modern UI? A WinAPI function or registry value would be the best possible solution for me.
By current theme color i mean this.
There's a private function called GetImmersiveUserColorSetPreference in UxTheme.dll. If you set the first parameter to true, it should use the value from the registry that GameScripting mentioned (and notify the system of the change).
I wrote about retrieving immersive/modern/metro colours here. Keep in mind that you won't be able to use these undocumented functions in WinRT Windows Store Apps, since they'll fail certification.
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