Guest Posted September 5, 2015 Posted September 5, 2015 Hello,I am looking and trying long time with no success for how to change the color in the title bar to my color choice in conventional way at the moment (in Windows 10).I have the following example:Code:#include <GUIConstantsEx.au3> GUICreate("My GUI", 300, 200) GUISetState(@SW_SHOW) $ObjTest = ObjCreate('ApplicationView.TitleBar') If @error Then ConsoleWrite(1111 & @CRLF) Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() The image tells what I want very clear.Nothing I tried worked. The only thing that really changed the color is this line:DllCall("UxTheme.dll", "int", "SetWindowTheme", "hwnd", $hGui, "wstr", 0, "wstr", 0) But it also changed everything and I want to change only the color.. I found possible solution here:https://www.reddit.com/r/Windows10/comments/37poip/windows_10_allow_developers_to_change_the_color/But I was not able to implement it in Autoit.I would love to get some help on this..Thank you!
Developers Jos Posted September 5, 2015 Developers Posted September 5, 2015 (edited) Correct... that is the way windows works as far as I know with themes. Haven't looked at your link though. Jos Edited September 5, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Guest Posted September 6, 2015 Posted September 6, 2015 (edited) Thanks for trying to help... Edited September 6, 2015 by Guest
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