AndyGroom
asked on
VB6 How to get the absolute position of a control?
I need to find the absolute position of a control within a VB6 application. (Absolute as in 0,0 = top,left of the Windows desktop).
I understand that VB.NET has a .PointToScreen method for doing this (I don't have .NET so I'm not sure).
The application is MDI-based and the controls may be in containers with different ScaleModes. Is there an API where you can pass the hWnd of a control and get back the absolute position?
I understand that VB.NET has a .PointToScreen method for doing this (I don't have .NET so I'm not sure).
The application is MDI-based and the controls may be in containers with different ScaleModes. Is there an API where you can pass the hWnd of a control and get back the absolute position?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.