..okay..I hope someone can help me here..when I create my application like this
graphics3D 1024,768,32,2
I receive windowe mode with minimize and close application button active..now..
within main loop I am checking is it ESC button pressed, if so, application end and before that i can put some other things to do like saving some data or something, whatever..beauty is that I know where my application end..now..when I do same thing BUT clicking on CLOSE button created on my window by graphics3D 1024,768,32,2 command, additional works I perform before end (like in case with ESC) is not done..so, where my program end then?? I thought its same as one with ESC button checking..so, can anyone help??
|