How to detect window minimize/maximize?

How to detect window minimize/maximize ???

Hi,

Making a PacMan game using SDL+OpenGL.

How do I detect when window is minimized or maximized?
Would guess its some event, but do not know.

Thanks…

JeZ+Lee
SLNTHERO @ aol.com (remove spaces)
www.SilentHeroProductions.com

http://www.libsdl.org/cgi/docwiki.cgi/SDL_ActiveEventOn Fri, Feb 19, 2010 at 3:25 PM, Jesse Palser wrote:

How to detect window minimize/maximize ???

Hi,

Making a PacMan game using SDL+OpenGL.

How do I detect when window is minimized or maximized?
Would guess its some event, but do not know.

Thanks…

JeZ+Lee
SLNTHERO @ aol.com (remove spaces)
www.SilentHeroProductions.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org