How to discover the screen coordinates of "another"/external form.
Posted on 2006-03-31
I am doing some "ghost" controlling of external applications from my app. but these rely on exact screen locations for the button clicks.
How can I find out the screen coordinates of another window that is not attached to my application. I can retrieve the handle but how do I then use that to find the x,y for the top left and bottom right (for example). With this information I can then work out where to click.