ercarlitos Posted July 2, 2009 Share Posted July 2, 2009 How do you press a button to exit the program Link to comment Share on other sites More sharing options...
Lars Posted July 2, 2009 Share Posted July 2, 2009 #include <GUIConstants.au3> $Form1 = GUICreate("Form1", 297, 75, 193, 125) $Button1 = GUICtrlCreateButton("Exit", 32, 8, 153, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 Exit EndSwitch WEnd Have fun Link to comment Share on other sites More sharing options...
CodyBarrett Posted July 2, 2009 Share Posted July 2, 2009 or is it a hotkey your asking for.... [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] 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