I would like to know when a user is idle for an action, so I decided that joining the event PointerMovedin mine would be a good start Page. Each time the mouse cursor moves, the counter is reset.
The problem is that mine Pagecontains a control WebViewthat displays the website. It covers almost the entire part of the screen. I noticed that when I move the mouse cursor, the event PointerMoveddoes not occur when it is over WebView.
But this is even worse: this happens when I add a handler to myWebView.PointerMoved. It does not cause any event!
Maybe I'm doing it wrong. What can I do to determine when the user is idle? Am I using the wrong method?
source
share