How do i detect when window loses focus and regains focus?

How do i detect when window loses focus and regains focus ???

JeZ+Lee
SLNTHERO at AOL.com

Le mercredi 9 ao?t 2006 13:08, SlntHero at aol.com a ?crit?:

How do i detect when window loses focus and regains focus ???

JeZ+Lee
SLNTHERO at AOL.com

With the SDL_GetAppState function or with the SDL_ACTIVEEVENT event++