Mouse restriction

bpayne111

Well-known member
Joined
Feb 28, 2003
Messages
326
Location
BFE
Id like to restrict the mouse cursor when the mouse is down on a custom control ive created.
Any suggestions?

Anyone know any good links to API calls for .net?

thanks
 
Code:
To restrict:
Cursor.Clip = New Rectangle(0, 0, 400, 300)

To unrestrict:
Cursor.Clip = Rectangle.Empty
 
thanks divil... i had tried that before and it didnt seem to work for me... ill try again and see what my results are.
 
Back
Top