JeffJones Posted April 4, 2007 Share Posted April 4, 2007 Hi, I created a group with this command: GuiCtrlCreateGroup("Program Management", 3, 40, 244, 229) I want to change the color of the text from the default blue. I have been able to change the font and the background color, but not the text color. Any advice? Thanks - Jeff Link to comment Share on other sites More sharing options...
Helge Posted April 4, 2007 Share Posted April 4, 2007 Doesn't work under XP-style it seems... not sure if there's other ways to do it but this works. DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0) GUICreate("", 300, 300) GUICtrlCreateGroup("Program Management", 10, 10, 280, 280) GUICtrlSetColor(-1, 0xFF0000) GUISetState() Do Until GUIGetMsg() = -3 Link to comment Share on other sites More sharing options...
JeffJones Posted April 4, 2007 Author Share Posted April 4, 2007 Doesn't work under XP-style it seems... not sure if there's other ways to do it but this works. DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0) GUICreate("", 300, 300) GUICtrlCreateGroup("Program Management", 10, 10, 280, 280) GUICtrlSetColor(-1, 0xFF0000) GUISetState() Do Until GUIGetMsg() = -3 That worked great, thanks so much for your help! Link to comment Share on other sites More sharing options...
Emiel Wieldraaijer Posted April 9, 2007 Share Posted April 9, 2007 HI.. and how to make the background transparent .. so you wont see a gray block when you have a picture in the background ? Thnx Emiel Best regards,Emiel Wieldraaijer Link to comment Share on other sites More sharing options...
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