Implement a callback for not-moving mouse cursor

1 次查看(过去 30 天)
Hi, I have a question and any possible solution is welcome:
How can I implement a callback which is called if the mouse is staying still for a while (e.g. cursor change interval > 0.05 sec.), but while the mouse is quickly moving (e.g. cursor change interval < 0.05 sec.), this callback won't be called?
Any ideas?

采纳的回答

Jan
Jan 2013-4-30
Use a TIMER, which triggers every 0.05 seconds and compare the mouse position.
  2 个评论
SSOI SS
SSOI SS 2013-4-30
where can I implement this TIMER? there is no callback called if the mouse is staying still in figure, correct?
SSOI SS
SSOI SS 2013-4-30
Hi, I think I know how I implement this.
Thanks for your advice !!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by