[SDL] SDL app keeping focus

Lilith Calbridge lilith at dcccd.edu
Thu Jul 19 07:29:52 PDT 2007


Without my docs at hand I'm just guessing.  Is there an event that
detects loss of focus?  If so, is there a means to regain the focus?

-- 
Lilith

>>> On 7/19/2007 at 7:15 AM, "Torsten Giebl" <wizard at syntheticsw.com>
wrote:
> Hello !
> 
> 
>> I'm using Windows and from time to time, my SDL app loses focus
(that is,
>> gets minimised or similar) - is there a way to keep it onscreen all
the
>> time? It's a full screen game so it gets a bit annoying when it
happens!
> 
> Did you try if this happens also with the
> testprogramms like testsprite, testgl, ... ?
> 
> What Windows do you use XP, Vista, ... ?
> 
> It may be also that another programm that is running
> is stealing the focus from your app. For example ZoneAlarm
> has this problem, even when not opening a window, it sometimes
> steals the focus.
> 
> 
> CU
> 
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org 
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


More information about the SDL mailing list