Implement a callback for not-moving mouse cursor

조회 수: 4 (최근 30일)
SSOI SS
SSOI SS 2013년 4월 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