xeroTechnologiesLLC Posted February 5, 2012 Posted February 5, 2012 (edited) I'm trying to debug a problem that I'm not really 100% sure why it's happening. When I click on a close button on gui1, gui2 pops up. Below is the code for the close button on gui1: Case $GUI_EVENT_CLOSE, $CloseSetWin GUIDelete($FRMSettings) ExitLoop Notice that the event_close and close button are going to do the same thing, right? Clicking the close button causes the problem - alt f4 or X button does not. Thoughts? Memory leak? The window that is loading is called through a function and I thought maybe I hadn't killed the function correctly at some other part in the code so I reset the computer to clear the memory and start the menu program. Once it was loaded I loaded the gui1 window and then clicked the close button and gui2 still pops up. Odd to me. Not sure how a gui would load if it's not being called or created. :) LOL Edited April 7, 2012 by xeroTechnologiesLLC
xeroTechnologiesLLC Posted February 5, 2012 Author Posted February 5, 2012 Something else to note, forgot to post, is that when I click the X button on the gui1 window it kills the entire program - which it shouldn't be doing.
xeroTechnologiesLLC Posted February 5, 2012 Author Posted February 5, 2012 OMFG just figured it out. I'm a moron. $nMsg = GUIGetMsg() was used more than once... /sigh Apologies for wasting time. [RESOLVED] ;) :D :D
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