AustrianOak Posted June 27, 2008 Share Posted June 27, 2008 Is there anyway to specify a color for the lines in my group? I'm asking this because people who run different themes, the group lines might show up a different color and I want it to be a set color. Link to comment Share on other sites More sharing options...
AustrianOak Posted July 1, 2008 Author Share Posted July 1, 2008 Bump. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 1, 2008 Moderators Share Posted July 1, 2008 Bump. You assume we know what you are talking about with your question, and have failed miserably to supply any code to go off of for any type of help anyway (and or your attempts of hunting down the answer yourself and attempted code). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 1, 2008 Share Posted July 1, 2008 Hi, I dunno how to colour the lines, but maybe this is a start: Global $GUI = GUICreate("my GUI") XPStyle(1) Global $group = GUICtrlCreateGroup(" This is a group", 40, 40, 300, 300) GUICtrlSetColor($group, 0xff0000) XPStyle(0) GUISetState() Sleep(2000) $group = GUICtrlCreateGroup(" This is a group with bk color", 40, 40, 300, 300) GUICtrlSetColor($group, 0x0ff) GUICtrlSetBkColor($group, 0xff0000) While 1 If GUIGetMsg() = -3 Then Exit WEnd Func XPStyle($OnOff = 1) Local $XS_n If $OnOff And StringInStr(@OSTYPE, "WIN32_NT") Then $XS_n = DllCall("uxtheme.dll", "int", "GetThemeAppProperties") DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0) Return 1 ElseIf StringInStr(@OSTYPE, "WIN32_NT") And IsArray($XS_n) Then DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", $XS_n[0]) $XS_n = "" Return 1 EndIf Return 0 EndFunc ;==>XPStyle Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
AustrianOak Posted July 2, 2008 Author Share Posted July 2, 2008 Thank you for your help Xeno, it has helped spawn some ideas but I will continue to search for an answer. 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