Windowentry .... Windowactive

Hi There,

I would like to have some elements of my app disappear when
the app is not active. So when another programs window is put to the forefront.

Anyone know if there a really simple way to do this

This looks like it could work but I could do with a function like Windowactive.

http://www.openframeworks.cc/documentation/application/ofBaseApp.html#show-windowEntry

I guess I could Detect mouse movement but I would rather have something that detected whether the
app was active.

Any thoughts welcome

Cheers