LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: tb on June 09, 2005, 09:28:45

Title: is it possible to override windows closing by the system ?
Post by: tb on June 09, 2005, 09:28:45
Can I somehow disable the closing event/message from the system (alt+f4 etc.) and handle it by my game itself ?

Thomas
Title: is it possible to override windows closing by the system ?
Post by: Matzon on June 09, 2005, 12:25:56
dunno about linxu & mac, but on windows we just flag isCloseRequested and let the programmer exit
Title: is it possible to override windows closing by the system ?
Post by: tb on June 09, 2005, 13:23:33
yes you are right, seems to work on linux too. thanks for the help.
Title: is it possible to override windows closing by the system ?
Post by: elias on June 09, 2005, 21:23:00
On Mac OS X it works too (triggered by closing the window or pressing Cmd-Q).

- elias