>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.
You can try "MOUSE AT x, y PIXELS" instead of the API call
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges