ssjfulkon198 Posted February 13, 2007 Share Posted February 13, 2007 (edited) FOUND ALL MY ANSWERS!!! DON'T POST IN THIS THREAD!!! Edited February 14, 2007 by ssjfulkon198 Link to comment Share on other sites More sharing options...
Valuater Posted February 13, 2007 Share Posted February 13, 2007 Just Playing... #include <GUIConstants.au3> $Password = "tim2277" GUICreate("My Pass Protect",248,281) $n=GUICtrlCreatePic(@Systemdir & "\oobe\images\wpakey.jpg",0,0,248,281) GUICtrlSetState( -1, $GUI_DISABLE) GUICtrlCreateLabel("Enter Password", 3, 245, 80, 15) GUICtrlSetBkColor( -1, $GUI_BKCOLOR_TRANSPARENT ) $input = GUICtrlCreateInput("********", 3, 260, 80, 20) $button = GUICtrlCreateButton("&Submit", 160, 260, 80, 20) GUISetState () ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit If $msg = $button Then If GUICtrlRead($input) = $Password Then ExitLoop MsgBox(16,"Pass Protect","The password was not correct ") EndIf Wend MsgBox(32,"Great","Please Enjoy the program!!!") 8) Link to comment Share on other sites More sharing options...
ssjfulkon198 Posted February 13, 2007 Author Share Posted February 13, 2007 Thanks dude! Link to comment Share on other sites More sharing options...
Valuater Posted February 13, 2007 Share Posted February 13, 2007 Thanks dude!Welcome8) Link to comment Share on other sites More sharing options...
ssjfulkon198 Posted February 13, 2007 Author Share Posted February 13, 2007 Ehh...how can I make the Background Color transparent? So my text displays directly against the picture... Link to comment Share on other sites More sharing options...
Valuater Posted February 13, 2007 Share Posted February 13, 2007 PLEASE DO NOT PM ME FOR HELP! How do I make the background transparent? I want my text to show directly against the picture u helped me with...thanks! #include <GUIConstants.au3> $Password = "tim2277" GUICreate("My Pass Protect",248,281) $n=GUICtrlCreatePic(@Systemdir & "\oobe\images\wpakey.jpg",0,0,248,281) GUICtrlSetState( -1, $GUI_DISABLE) GUICtrlCreateLabel("Enter Password", 3, 245, 80, 15) GUICtrlSetBkColor( -1, $GUI_BKCOLOR_TRANSPARENT ) $input = GUICtrlCreateInput("********", 3, 260, 80, 20) GUICtrlSetBkColor( -1, 0x4E6FD6) $button = GUICtrlCreateButton("Submit", 160, 260, 80, 20) GUISetState () ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit If $msg = $button Then If GUICtrlRead($input) = $Password Then ExitLoop MsgBox(16,"Pass Protect","The password was not correct ") EndIf Wend MsgBox(32,"Great","Please Enjoy the program!!!") 8) Link to comment Share on other sites More sharing options...
ssjfulkon198 Posted February 14, 2007 Author Share Posted February 14, 2007 By the way...I found all my answers so NO ONE ELSE POST IN THIS TNHREAD!!! 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