Mouse restriction

bpayne111

Junior Contributor
Joined
Feb 28, 2003
Messages
325
Location
BFE
I'd like to restrict the mouse cursor when the mouse is down on a custom control i've created.
Any suggestions?

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

thanks
 
Visual Basic:
'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 didn't seem to work for me... i'll try again and see what my results are.
 
Back
Top