Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Forms & Form designer
Title:
How can I determine the x,y coordinates of an object?
Need to move the mouse to the upper left corner of a control under certain circumstance. Can already move the mouse using SetCursorPos in WIN32API, but how can I determine the x,y position of the object? I've tried messing around with form and object top and left properties, but the form top is 0, but it's not really. As far as the API is concerned, the form top is in relation to the top of the screen.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only