Hi Malcolm,
You can use command MOUSE AT x,y PIXELS if mouse is outside region.
MartinJ
>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