Sign in to follow this  
Followers 0
ssjfulkon198

I need help with a few things...

7 posts in this topic

#1 ·  Posted (edited)

FOUND ALL MY ANSWERS!!! DON'T POST IN THIS THREAD!!!

Edited by ssjfulkon198

Share this post


Link to post
Share on other sites



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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks dude!

Share this post


Link to post
Share on other sites

Thanks dude!

Welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Ehh...how can I make the Background Color transparent? So my text displays directly against the picture...

Share this post


Link to post
Share on other sites

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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

By the way...I found all my answers so NO ONE ELSE POST IN THIS TNHREAD!!!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0