is it possible to override windows closing by the system ?

Started by tb, June 09, 2005, 09:28:45

Previous topic - Next topic

tb

Can I somehow disable the closing event/message from the system (alt+f4 etc.) and handle it by my game itself ?

Thomas

Matzon

dunno about linxu & mac, but on windows we just flag isCloseRequested and let the programmer exit

tb

yes you are right, seems to work on linux too. thanks for the help.

elias

On Mac OS X it works too (triggered by closing the window or pressing Cmd-Q).

- elias