Mar 12, 2003 #1 B 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
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
Mar 12, 2003 #2 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 Code: To restrict: Cursor.Clip = New Rectangle(0, 0, 400, 300) To unrestrict: Cursor.Clip = Rectangle.Empty
Code: To restrict: Cursor.Clip = New Rectangle(0, 0, 400, 300) To unrestrict: Cursor.Clip = Rectangle.Empty
Mar 12, 2003 #3 B bpayne111 Well-known member Joined Feb 28, 2003 Messages 326 Location BFE thanks divil... i had tried that before and it didnt seem to work for me... ill try again and see what my results are.
thanks divil... i had tried that before and it didnt seem to work for me... ill try again and see what my results are.