[SDL] Alt-F4 not working on Windows
Graham Houston
graham.houston at rushpark.co.uk
Sat May 3 08:59:30 PDT 2008
On Sat, 03 May 2008 16:49:27 +0100, Christoph Kobe <christoph at kobenetz.de>
wrote:
> What part of the SDL does actually prevent the WM_DESTROY event that
> every other windows program gets when I hit ALT-F4?
>
none, you just have to catch the ALT-F4 key combo and do what you must...
if ALT-F4 caused the SDL_QUIT event then how do you tell the difference
between a SDL_QUIT that was caused by the [X] icon and the key combo? it
just gets very obscure and silly.. nothing here is broken, if you want
ALT-F4 to close the app/game then just catch the key combo and do what you
do for SDL_QUIT event... simple!
Graham.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the SDL
mailing list