Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Getting Window States

Author
Message
AGL
18
Years of Service
User Offline
Joined: 13th Jan 2008
Location:
Posted: 17th Jan 2011 16:02
Hey everyone,

I'd like to ask if its possible in DBP to get the state of play window such as if its alt-tabbed to the background, or it is active?

Thanks in advance!

"The business in the business is the business"
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 17th Jan 2011 17:31 Edited at: 17th Jan 2011 17:31
There is a command in Ian M's Matrix utility plugin called "has focus()" which can be called to check this.

EDIT: Here -> http://forum.thegamecreators.com/?m=forum_view&t=85209&b=18

Login to post a reply

Server time is: 2026-07-18 02:09:00
Your offset time is: 2026-07-18 02:09:00