[SDL] Alt-F4 not working on Windows

Graham Houston graham.houston at rushpark.co.uk
Fri May 2 05:46:13 PDT 2008


On Fri, 02 May 2008 12:26:34 +0100, Mason Wheeler <masonwheeler at yahoo.com>  
wrote:


> Apples and oranges.  The "don't hook the mouse" rule makes a lot of  
> sense for windowed programs, and was written in a time before fullscreen  
> gaming had even been dreamed up. And as you pointed out, there's no  
> other good way to control an FPS.  What you did enhanced the players'  
> experience without any true drawbacks, simply by ignoring an outdated  
> rule that needed to be updated.
>
> Here, we're talking about the right of a computer owner to quit any  
> program at any time.  This is a fundamental right and must be held  
> absolutely sacred.  If you violate it, you're taking control of the  
> computer out of its owners' hands. In other words, you're writing  
> malware. The line here isn't "there's no alternative", it's "there's no  
> excuse."  Interface considerations are secondary, and key combinations  
> can be altered just a little bit to keep from b0rking one very important  
> command that's been in place forever and then some.
>
>

and is left to the developer to implement! it should not be default, I've  
ALT+F4
mapped to other uses in a few games I've developed and this is the point  
of SDL
you can do what you like. If ALT+F4 was to do what is intended by the OS  
then I'd
have all sorts of problems having to undo it.

You said yourself apples and oranges...



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the SDL mailing list