How can I force the mouse to move along a specific axis while the user keeps the left button down?
I would like the user to be able to move the mouse along the X axis while any movement on the Y axis would be “canceled”.
thanks
Eden
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check this: http://social.msdn.microsoft.com/Forums/en/wpf/thread/9b07abce-bb32-4cd1-9ae5-d34973d5cc95
From the link:
You’ll have to call the method from the Mouse.MouseMove event handler.