[SDL] Alt-F4 not working on Windows
Mason Wheeler
masonwheeler at yahoo.com
Wed Apr 30 15:49:43 PDT 2008
If that's what has to be done, then IMO it hasn't been fixed. <ALT>-<F4> is a Windows standard. It always means "quit" on every program. (A few games I've seen override this behavior, which I consider very poor design.) Since by default, <ALT>-<F4> means "quit", it should always generate a SDL_QUIT event, not a SDL_KEYDOWN event. (Same goes for <Command>-Q on Macs.)
----- Original Message ----
From: Abhinav Lele <abhinav.lele at gmail.com>
To: A list for developers using the SDL library. (includes SDL-announce) <sdl at lists.libsdl.org>
Sent: Wednesday, April 30, 2008 3:07:10 PM
Subject: Re: [SDL] Alt-F4 not working on Windows
>You need to check your code. Alt + F4 works on windows. You have to
>check for the event of Alt + F4 and then quit.
More information about the SDL
mailing list