mouseMove, mouseHover question

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]
 
G

Geoffrey Summerhayes

   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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top