Jump to content
Sign in to follow this  
Achilles

GuiGetPosition.... HOW?

Recommended Posts

Achilles

I want to know the position of a GUI window relative to the pixel location 0,0... not relative to the window (so ControlGetPos doesn't work...).

Is this possible? I've searched the HelpFile for awhile but couldn't find what I was looking for.

Any help appreciated.


My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites
lcgreenwald

Use MouseGetPos() and subtract GUIGetCursorInfo()

Share this post


Link to post
Share on other sites
seandisanti

I want to know the position of a GUI window relative to the pixel location 0,0... not relative to the window (so ControlGetPos doesn't work...).

Is this possible? I've searched the HelpFile for awhile but couldn't find what I was looking for.

Any help appreciated.

WinGetPos()

Share this post


Link to post
Share on other sites
seandisanti

Lol, missed that one... Thanks

NP, glad to help

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×