Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOEVENTS - Absolute position of mouse
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DOEVENTS - Absolute position of mouse
Miscellaneous
Thread ID:
00155157
Message ID:
00155157
Views:
87
I followed a thread here a while back regarding the DOEVENTS command and that it required the mouse to move in order for it to really take effect. Since then, I've done a .DoFastEvents() which moves the mouse 1 pixel and it works great, but...... there could be several forms up at any given time and the mouse may not be over the active form when this method is called. I'm often finding my mouse shooting over to the far left as MROW() or MCOL() is returning -1. How can I absolutely determine the x & y of the mouse, move it and then return it to it's exact position regardless of what form is active and where the mouse it.

Steve
Next
Reply
Map
View

Click here to load this message in the networking platform