Google Answers Logo
View Question
 
Q: Capturing Tilt Event of Microsoft IntelliMouse ( Answered 5 out of 5 stars,   3 Comments )
Question  
Subject: Capturing Tilt Event of Microsoft IntelliMouse
Category: Computers > Programming
Asked by: simogori-ga
List Price: $50.00
Posted: 20 Jun 2004 21:10 PDT
Expires: 20 Jul 2004 21:10 PDT
Question ID: 363824
How do I capture the "Tilt" event of Microsoft IntelliMouse with
VisualBasic .Net?

I am writing a program which only has one PictureBox on a Form.
I want to use the Microsoft IntelliMouse Explorer 2.0 tilt function
to change the image shown in the PictureBox.
How do I capture the tilt event?

I checked that the RichTextBox scrolls horizontally without any additional codes.

A short example program will be great.
Answer  
Subject: Re: Capturing Tilt Event of Microsoft IntelliMouse
Answered By: aht-ga on 23 Jun 2004 19:41 PDT
Rated:5 out of 5 stars
 
simogori-ga:

As you requested, I am posting my Comment as an Answer for your question.

================================================================

This article from MSDN implies that there is currently no way to
capture the horizontal scroll, or tilt, event from an IntelliMouse
with the new Tilt Wheel. For now, the Intellipoint driver emulates the
horizontal scroll action by taking in the private Tilt event, and
transforming it into a left or right scroll for whichever object
happens to be under the mouse pointer. So, if your intent is to use
the tilt wheel for some purpose other than horizontal scroll, there is
currently no method available to capture this, sorry.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/BestPracticesforSupportingMicrosoftMouseandKeyboardDevices.asp

================================================================

If MS decides to change their mind about waiting until the release of
Longhorn to have support for the tilt wheel built into the OS, and
releases an OS patch to enable this in current OSes, then most likely
they will provide the documentation here:

.NET Framework Class Library - MouseEventArgs Members
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsmouseeventargsmemberstopic.asp

I'm sorry that this wasn't the good news you were hoping for, but I'm
sure that you will find a different approach to solve your problem.

Regards,

aht-ga
Google Answers Researcher




Search Strategy:

MSDN mousebuttons
://www.google.com/search?q=MSDN+mousebuttons

"tilt wheel" programming .net
://www.google.com/search?q=%22tilt+wheel%22+programming+.net
simogori-ga rated this answer:5 out of 5 stars
It's often harder to find evidence to prove that the request is impossible.
aht-ga was able to do that.  thanks.

Comments  
Subject: Re: Capturing Tilt Event of Microsoft IntelliMouse
From: aht-ga on 21 Jun 2004 22:29 PDT
 
simogori-ga:

This article from MSDN implies that there is currently no way to
capture the horizontal scroll, or tilt, event from an IntelliMouse
with the new Tilt Wheel. For now, the Intellipoint driver emulates the
horizontal scroll action by taking in the private Tilt event, and
transforming it into a left or right scroll for whichever object
happens to be under the mouse pointer. So, if your intent is to use
the tilt wheel for some purpose other than horizontal scroll, there is
currently no method available to capture this, sorry.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/BestPracticesforSupportingMicrosoftMouseandKeyboardDevices.asp

Regards,

aht-ga
Google Answers Researcher
Subject: Re: Capturing Tilt Event of Microsoft IntelliMouse
From: simogori-ga on 21 Jun 2004 23:39 PDT
 
aht-ga,

You've saved tremendous time for me.
thanks.

I can accept this comment as an answer.
Please post it as an answer, so that I can close the question
and thank you properly.

regards,
nobu.
Subject: Re: Capturing Tilt Event of Microsoft IntelliMouse
From: simogori-ga on 23 Jun 2004 20:04 PDT
 
aht-ga,

Your answer wasn't what I expected, but since you've found out
that there is no clean way to do it, I was able to implement it the ugly way
without being ashamed.  My program is running fine.

thanks,

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy