Newbie: How to catch an Event from a SDL Window?

I want to change the appearance of the SDL window when
it get focus/unfocus. How can I catch the event?

thanks
Phuoc Can HUA=====
/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Use the APPACTIVE event, here’s an example:

http://sdldoc.csn.ul.ie/guideeventexamples.php

This isn’t a very… obscure part of SDL, you could have perhaps tried
to figure this out on your own instead of mailing the list.

Is there an SDL developer IRC channel somewhere? I kind of feel like
that would be an appropriate place to ask these simple kinds of
questions.On Aug 11, 2004, at 8:58 PM, Phuoc Can Hua wrote:

I want to change the appearance of the SDL window when
it get focus/unfocus. How can I catch the event?

thanks
Phuoc Can HUA

=====
/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

  • Donny Viszneki