[SDL] disabling alt-tab under windows?
marix at surfeu.de
Fri Sep 13 06:11:00 PDT 2002
when coding winapi you can simply catch alt+tab in your message loop and
return to your programm instead of giving it to windows. (just as if
catching another key)
this might work in sdl, too.
Romi Kuntsman wrote:
> 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 :^) )
> Try SDL_WM_GrabInput(SDL_GRAB_ON);
Marix eMonkey 2002
- free guestbooks, newssystems and adrotators
More information about the SDL