How to Know when the Window is Active

Blitz3D Forums/Blitz3D Programming/How to Know when the Window is Active

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hello again!. How can i know then the window of B3D is selected and active?

For example, when i am running B3D in window mode but then i click on the desktop the b3d window title gets gray. How can i know in the b3d code when has this happened?

What i want is to stop the renderworld() if the window is not the actual selected window...

HasFocus() of Sswift Saved me! Thanks!