supadodger Posted March 25, 2009 Share Posted March 25, 2009 the X to close the program doesnt work and im betting its just a simple line i am missing. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 25, 2009 Share Posted March 25, 2009 (edited) See "GUI Reference" in helpfile, there they explains both "MessageLoop Mode" and "OnEvent Mode". What you need is to Exit when you receive $GUI_EVENT_CLOSE. Edited March 25, 2009 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
supadodger Posted March 25, 2009 Author Share Posted March 25, 2009 See "GUI Reference" in helpfile, there they explains both "MessageLoop Mode" and "OnEvent Mode". What you need is to Exit when you receive $GUI_EVENT_CLOSE.perfect answer.you gave me enough for me to figure it out without doing it for me. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 25, 2009 Share Posted March 25, 2009 perfect answer.you gave me enough for me to figure it out without doing it for me.Thank you, it's not often I hear/read that .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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