[SDL] disabling alt-tab under windows?

Romi Kuntsman romik12345 at lycos.co.uk
Fri Sep 13 04:37:01 PDT 2002


Bill Kendrick wrote:

>Is there any way to disable window cycling ([Alt]-[Tab]) in Windows
>when my SDL app is in fullscreen mode?
>
>I'd like to add it as an option (e.g., "--nocycle"), so that users can't
>"get out" of the application.  (Which is a good idea, since they'll probably
>be very young children :^) )
>
>
>Thanks!
>
>-bill!
>  
>

Try SDL_WM_GrabInput(SDL_GRAB_ON);
http://sdldoc.csn.ul.ie/sdlwmgrabinput.php

RK.





More information about the SDL mailing list