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?
Blitz3D runtime Windows
Blitz3D Forums/Blitz3D Programming/Blitz3D runtime Windows wow, cool!