Blitz3D runtime Windows

Blitz3D Forums/Blitz3D Programming/Blitz3D runtime Windows

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?