gizbo Posted January 11, 2006 Share Posted January 11, 2006 (edited) Hello! Code example: $var = GUICtrlCreateCheckbox("",298,90,210,15,-1,$WS_EX_TRANSPARENT ) only not work cheboxes ideas? P.D.: Only for my english... :"> Only = sorry :"> :"> :"> :"> :"> Edited January 11, 2006 by gizbo Link to comment Share on other sites More sharing options...
TK_Incorperate Posted January 11, 2006 Share Posted January 11, 2006 Hmmm that is very weird, i tried to do it myself to see what the problem is, and every way i tried i failed. Maybe this function isnt available for Check Boxes. ~TK Link to comment Share on other sites More sharing options...
gizbo Posted January 11, 2006 Author Share Posted January 11, 2006 Ok... thanks!! for your answer!! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 11, 2006 Moderators Share Posted January 11, 2006 Are you just trying to hide the CheckBox()?? If so, you could set the state: $var = GUICtrlCreateCheckbox("",298,90,210,15,-1) GUICtrlSetState($var. $GUI_HIDE) ; If statement you want becomes true, to bring it back you could do GUICtrlSetState($var. $GUI_SHOW) OR TRANSPARENT $var = GUICtrlCreateCheckbox("",298,90,210,15,-1) GUICtrlSetState($var. $WS_EX_TRANSPARENT) ; If statement you want becomes true, to bring it back you could do GUICtrlSetState($var. $GUI_SHOW) 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...
gizbo Posted January 11, 2006 Author Share Posted January 11, 2006 Thanks, but...i do not want that it(he,she) disappears completely. I want that alone the text is transparent... Sorry for my english please (traduction->_http://traductor.ya.com Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 12, 2006 Moderators Share Posted January 12, 2006 I don't think your english is bad at all, I think my interpretation of what it is that you want isn't very good . Assuming that you want the check box and no text, I'll show 2 examples and tell me if we are on the right path at least. #include <guiconstants.au3> GUICreate('', 200, 100) $combo = GUICtrlCreateCheckbox('text', 10, 10) GUISetState() While 1 $msg = GUIGetMsg() If $msg = -3 Then GUICtrlSetData($combo, '') Sleep(6000) Exit EndIf Sleep(10) WEnd Or#include <guiconstants.au3> GUICreate('', 200, 100) $combo = GUICtrlCreateCheckbox(' ', 10, 10) GUISetState() While 1 $msg = GUIGetMsg() If $msg = -3 Then Exit EndIf Sleep(10) WEnd 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...
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