>>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.
Thanks, Naomi
Yes, I'm sure that's the way to go. I found the following:
DECLARE SHORT GetCursorPos IN user32 STRING @ lpPoint
How do I implement this?