Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel mousemove() and prevent mouse from moving
Message
From
30/05/2005 10:02:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/05/2005 09:25:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01018518
Message ID:
01018525
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform