Barfly Posted January 19, 2006 Share Posted January 19, 2006 I have a complicated set of GUI windows, each of them are in functions that call each other. I can refresh a window by doing either GUISetState(@SW_Hide, $myGUI) MyGUI() OR GUIDelete($MyGui) MyGUI() But if the user tries to close the window using the title bar close button, he will have to press this several times. Once for everytime the window was refreshed. Why???? Link to comment Share on other sites More sharing options...
Barfly Posted January 19, 2006 Author Share Posted January 19, 2006 But if the user tries to close the window using the title bar close button, he will have to press this several times. Once for everytime the window was refreshed. Why???? I have used: case $msg = $GUI_EVENT_CLOSE GUIClose($MyGUI) Exit And this seems to work OK. Is probably not the 'correct' way , but it suits my purposes. Link to comment Share on other sites More sharing options...
GaryFrost Posted January 19, 2006 Share Posted January 19, 2006 sounds like your not refreshing guis, but creating new guis, this would cause the user to have to close multple times SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. 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