Jussip Posted October 15, 2008 Posted October 15, 2008 (edited) How on the world i could get this working? #include <GUIConstants.au3> $form2 = guicreate("message", 170, 93, 303, 219) $message = guictrlcreateInput("", 24, 16, 121, 21) $send =guictrlcreateButton("send", 48, 56, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Send msgbox(0,"You Typed" , " You Typed " & ($Message)) EndSwitch WEnd Edited October 15, 2008 by Jussip
WeMartiansAreFriendly Posted October 15, 2008 Posted October 15, 2008 #include <GUIConstants.au3> $form2 = guicreate("message", 170, 93, 303, 219) $message = guictrlcreateInput("", 24, 16, 121, 21) $send = guictrlcreateButton("send", 48, 56, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Send msgbox(0,"You Typed" , " You Typed " & GUICtrlRead($Message)) EndSwitch WEnd Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()
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