[SDL] Preventing Windows key from exiting fullscreen in SDL?

Edward Cullen eac203 at ecs.soton.ac.uk
Mon Mar 3 17:41:22 PST 2008


Bill Kendrick wrote:
> On Mon, Mar 03, 2008 at 11:50:24PM +0000, Brian wrote:
>> http://msdn2.microsoft.com/en-us/library/bb219746(VS.85).aspx
>>
>> I didn't read it all the way through, but the above link seems to
>> describe what you want.

D'oh!

That makes sense... somehow I'd got the impression that you couldn't
install a hook to catch WinKey...

> 
> Wow, thanks a lot.  I wonder, can we add an API to SDL to do this?
> In the meantime, I can ask my overworked Tux Paint porter, John P., if he
> can look into including this in Tux Paint directly.

Hmm... how would you do this in an OS agnostic way? What should have
precedence - consistent interaction (from a user view) with the
underlying OS / WM or consistent cross-platform behaviour of an app?

I guess you could have three options; OS-default, intercept-all,
pass-through (pass-on unhandled keys).

> 
> PS - That page is totally unusable (cannot scroll, and appears to be very
> wide; text goes off the right side of my window) in Konqueror.  How does one
> even MAKE such a broken web page!? :)  I'll see if SlowerFox can handle it.
> 

To be fair, Konqueror WWW isn't the best part of KDE (and that's coming
from  a KDE fanboi!!!)...


More information about the SDL mailing list