locked
Finding the absolute location of a control RRS feed

  • Question

  • Hi

    How would I find the absolute location of a control, say a text box? What I mean is, the X and Y relative to the top left of the screen, rather than the window of my application?


    Thanks in advance.
    Thursday, March 13, 2008 11:13 PM

Answers

  • Solved!

    Here's the solution

    AbsolutePoint = PointToScreen(control.Location)
    Friday, March 14, 2008 12:12 AM