Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor position
Message
 
 
To
08/04/2011 12:52:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01506671
Message ID:
01506672
Views:
71
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform