Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No mousemove event with fast mouse movements?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00464731
Message ID:
00464830
Vues:
49
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform