mouseMove, mouseHover question

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Using the mouseMove event, I'm receiving messages around 100 times per
second, which is good. But I also need to receive mouse positions around 100
times per second, even when the mouse is not moving.
MouseHover by default will be called 400ms after the mouse is stationary.
Can I change the mousehover to 10ms, and will this work?
So I have two questions:
Can I change the MouseHover delay time in XP using C#? If so, how would I go about this?
If the MouseHover won't work, is there some other method for getting
mouse positions and mouse button info around 100 times per second?
This is for a research project, and they want positional information
around 100 times per second.
I'm using XP Professional.

Thanks

[Tim]
 
   Using the mouseMove event, I'm receiving messages around 100 timesper
second, which is good.  But I also need to receive mouse positions around 100
times per second, even when the mouse is not moving.
   MouseHover by default will be called 400ms after the mouse is stationary.
 Can I change the mousehover to 10ms, and will this work?
   So I have two questions:
      > Can I change the MouseHover delay time in XP using C#?  If so, how
would I go about this?
      > If the MouseHover won't work, is there some other method for getting
mouse positions and mouse button info around 100 times per second?
   This is for a research project, and they want positional information
around 100 times per second.
   I'm using XP Professional.

First thing that comes to mind is just using the DispatcherTimer class
and querying the mouse for it's position.
 
Back
Top