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.

AppGameKit Studio Chat / Get window position?

Author
Message
Jambo B
12
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 19th Jun 2022 12:35
Hello all,

Is there any way to get the current window position on the Windows desktop?

We have GetWindowWidth() and GetWindowHeight(), but what I could really use right now is GetWindowX() and GetWindowY().

If not, does anyone know of a plugin which supports this?

Thanks,

James
Virtual Nomad
Moderator
16
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 19th Jun 2022 15:20
MadBit's FileExplore
Quote: " Functions GetWindowX() and GetWindowY() added to receive the Window Position (top/left corner of the window)"
Jambo B
12
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 19th Jun 2022 17:37
Thanks for the help - that's sorted it. And what a great plugin!

It would be nice if GetWindowX() and GetWindowY() were included as part of the standard command set, though. Just a thought!

Anyway, thanks again, Virtual Nomad, and to MadBit for the plugin.

James

Login to post a reply

Server time is: 2022-08-09 09:41:24
Your offset time is: 2022-08-09 09:41:24