Achilles Posted December 29, 2006 Share Posted December 29, 2006 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] Link to comment Share on other sites More sharing options...
lcgreenwald Posted December 29, 2006 Share Posted December 29, 2006 Use MouseGetPos() and subtract GUIGetCursorInfo() Link to comment Share on other sites More sharing options...
seandisanti Posted December 29, 2006 Share Posted December 29, 2006 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() Link to comment Share on other sites More sharing options...
Achilles Posted December 29, 2006 Author Share Posted December 29, 2006 WinGetPos()Lol, missed that one... Thanks My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
seandisanti Posted January 2, 2007 Share Posted January 2, 2007 Lol, missed that one... ThanksNP, glad to help Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now