Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement