Introduce DataBase,Asp.net,JavaScript,Xml,Html,Css,Sql,Php,ASP.NET Controls,AJAX,Tools,HTML,CSS,JavaScript,Open Source Project,WPF,.Net Framework,Linq
Top Recommended Hosting

Mouse Stop Capture?

by the3factory 3/26/2008 5:27:00 PM
Question:

Hello,

When you move your mouse in Windows Media Play full screen mode, you can see the control bar, then it disappear after awhile. I am trying to do the same. Is there a good example for this?

 

I am thinking about a Mouse Stop Capture approach, anyone using this way?

 

Thank you.

Answer1:
You can use a timer, check if the mouse pos changed since last call. Check DispatcherTimer, this is a low overhead timer, very suited for this kind of job.
Answer2:

Thank you. It works really well. And I am able to use it to make my other part of the code cleaner.

Related posts

Sign up for PayPal and start accepting credit card payments instantly.


Powered by BlogEngine.NET 1.2.0.0