hogfan Posted February 28, 2011 Share Posted February 28, 2011 Is there something special I have to do to get the default Windows "X" button to work on my AutoIT form? I got my app working and compiled into an .exe, but when I try to exit the program the Windows "X" button does nothing. -hogfan Link to comment Share on other sites More sharing options...
JohnOne Posted February 28, 2011 Share Posted February 28, 2011 Add a condition for $GUI_EVENT_CLOSE constant in your message loop. Its hardly special though, rather standard. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
wakillon Posted February 28, 2011 Share Posted February 28, 2011 You can use Opt( "GUIOnEventMode", 1 ) too, depends of your script.see example in "GUI Reference - OnEvent Mode" in help file. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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