http://www.vb-helper.com/HowTo/clipcurs.zip

	Purpose
Confine the cursor within a form.

	Method
Use the ClipCursor and ClientToScreen API functions to restrict the cursor.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does not error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
