Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No mousemove event with fast mouse movements?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00464731
Message ID:
00464830
Views:
45
Hi!

For VFP6 usually timer control used to check if mouse left the control and fire mouse leaving code. Use MROW() and MCOL() functions to get current mouse pointer position over the form.

>>Hi!
>>
>>No. This is by design in Windows. When you move mouse quickly, mouse cursor appears in the locations that are 50 or even 100 points difference. Thus Windows can generate MouseMoved event only at these locations. Though you can calculate the line between 2 locations of MouseMove and call MouseMove manually for each point on the path of mouse, but it might be messy.
>>
>>Why you need such functionality?
>>Can someone tell if Mouse entering and leaving functionality in VFP7 works for described case?
>
>I was going to use it to implement mouseleave. I did do it and it
>would works good except when you move the mouse too fast to
>generate a mousemove event.
>
>
>>>What is the design of the mousemove event? If I move quickly
>>>over a control the mousemove event does not fire. Any way to
>>>change this behaviour?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform