musicstashall Posted September 17, 2018 Posted September 17, 2018 Hello. I was looking for ways to apply visual style from the script, found here only this: $aCall = DllCall("uxtheme.dll", "int", 65, _ "wstr", "C:\WINDOWS\resources\Themes\Aero 7\aero 7.msstyles", _ "wstr", "NormalColor", _ "wstr", "NormalSize", _ "int", 0) If @error Then ConsoleWrite("!Error = " & @error & @CRLF) Else ConsoleWrite(">Returned " & $aCall[0] & @CRLF) ; 0 is success EndIf It works, but not perfect. The interface elements are made from a visual style, but the color scheme does not change. Maybe it can not work on windows 10. Could you suggest other variants of calls to uxtheme.dll or find a way to get the color composition from the .msstyle file, similar to the function GetSysColor?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now