Implement a callback for not-moving mouse cursor

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeInteractive Control and Callbacks についてさらに検索

質問済み:

2013 年 4 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by