tags:

views:

34

answers:

1

Guys, I have a C# Winforms application with a panel inside the form. What I want to do is, whenever the mouse pointer enters this panel, I want to slow the movement speed of the mouse by 50%. Once the pointer moves outside this panel, I want to speed of the mouse to resume normal 100% speed. How can I accomplish this in C#?

+2  A: 

This article might help

Yassir
+1 for the article. For icemanind: just call the function specified in this article on the "Enter" and "Leave" events, slower when the control is entered and faster when leaving the control, and it should work.
Mike Webb
Perfect. Thanks for the help!
icemanind