Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor position
Message
 
 
À
08/04/2011 12:52:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01506671
Message ID:
01506672
Vues:
72
>The nXCoord, nYCoord of the MouseMove method of a form or form object reveals the coordinates of the mouse (cursor) within the form. How can one determine those coordinates relative to its position on the screen? Must you make a calculation of all the factors such as Sysmetric(1) adn Sysmetric(2) together with _Screen .Left and .Top and Form.Left and Form.Top? What if the application and or form is moved on the desktop?
>
>Thanks,
>
>dg

May be you can use instead Windows API GetCursorPos function.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform