[SDL] Alt-F4 not working on Windows
Sean D'Epagnier
sean at depagnier.com
Wed Apr 30 15:58:23 PDT 2008
I disagree. Why don't you just exit your application if want ALT-F4 to quit?
On Wed, Apr 30, 2008 at 03:49:43PM -0700, Mason Wheeler wrote:
> 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.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
More information about the SDL
mailing list