>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