Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel mousemove() and prevent mouse from moving
Message
De
30/05/2005 10:02:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/05/2005 09:25:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01018518
Message ID:
01018525
Vues:
10
>I'm looking for a way to prevent a user from moving the mouse outside a specific region during a drag operation. NODEFAULT in a mousemove() event does not prevent the mouse from moving.
>
>I'm aware that there is a Windows API to set the mouse clipping region ...
>http://www.news2news.com/vfp/?example=80&function=118
>
>I'm wondering if there's not a simpler way to accomplish this using native VFP capabilities?
>
>Thanks,
>Malcolm

Malcolm,
Do you want to really prevent mouse moves (there is API to bound mouse movement to a specific region) or is that all you need is to 'cancel' dragdrop if outside specific region? If latter call drag with 'cancel' parameter.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform