Jump to content
Sign in to follow this  
rocknload

gui help -.-

Recommended Posts

rocknload

hi..i have no clue how to use gui..i will be happy if somebody made a normal and simple tutorial for begginers..thx

Share this post


Link to post
Share on other sites
let

EX

#include <GUIConstants.au3>
GUICreate(" GUI Base",200,100)
$icon=GUICtrlCreateIcon (@windowsdir & "\cursors\horse.ani",10,85,45,32,32)
GUISetState ()
While 1
    $msg = GUIGetMsg()
    Select
    Case $msg=$icon
        MsgBox(4096,"Hello","How are you")
    Case $msg = $GUI_EVENT_CLOSE 
      ExitLoop
    EndSelect
Wend

;)

Edited by let

Share this post


Link to post
Share on other sites
rocknload

thank you very much ;)

btw the #include <GUIConstants.au3> part is important?

Edited by rocknload

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  

×