Blitz3D runtime Windows

Blitz3D Forums/Blitz3D Programming/Blitz3D runtime Windows

Tibit(Posted 2004) [#1]
When I run games in a window and I press the X to exit the game it closes =) but if I want the game to do something before it finnishes? If the user presses the Esckey there is no problem, then it-s up to me what I want to happen. but if he closes the window the program just ends- not good if you have a chat program, cause you'll never know is someone else leaves, except for timeout. is there a way to catch the game closeing or a way to disable the X in windowed mode?


TeraBit(Posted 2004) [#2]
In the code archives. This is excellent!

http://www.blitzbasic.com/codearcs/codearcs.php?code=832


jfk EO-11110(Posted 2004) [#3]
wow, cool!