litlmike Posted March 23, 2006 Share Posted March 23, 2006 Is there a way to control how the 'X' in the top right corner of a GUI acts? I just want it to close when clicked. Is it some sort of constant? Instead of closing when clicking the 'X' it will run the rest of the script. _ArrayPermute()_ArrayUnique()Excel.au3 UDF Link to comment Share on other sites More sharing options...
Pakku Posted March 23, 2006 Share Posted March 23, 2006 yup there is a gui looks like this see for youself how to modifed it #include<GUIConstants.au3> GUICreate("My GUI") GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit EndIf WEnd How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me Link to comment Share on other sites More sharing options...
litlmike Posted March 23, 2006 Author Share Posted March 23, 2006 yup there is a gui looks like this see for youself how to modifed it #include<GUIConstants.au3> GUICreate("My GUI") GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit EndIf WEnd Thanks! _ArrayPermute()_ArrayUnique()Excel.au3 UDF Link to comment Share on other sites More sharing options...
slightly_abnormal Posted March 23, 2006 Share Posted March 23, 2006 welcome to the forums! 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