You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per #2609, Window.Current only returns null if UWP desktop. So I can't use Window.Current.CoreWindow.PointerPressed += onCoreWindowPointerHandler; to detect user's activities.
As a tradeoff, we use internal Webview to catch mouse/pointer events, so I tried WebView.PointerPressed += OnPointerHandler;, but this kind of events was never caught.
Who can suggested that how I can implement UWP desktop idle timeout functionality? Thanks.
The text was updated successfully, but these errors were encountered:
Per #2609,
Window.Current
only returns null if UWP desktop. So I can't useWindow.Current.CoreWindow.PointerPressed += onCoreWindowPointerHandler;
to detect user's activities.As a tradeoff, we use internal Webview to catch mouse/pointer events, so I tried
WebView.PointerPressed += OnPointerHandler;
, but this kind of events was never caught.Who can suggested that how I can implement UWP desktop idle timeout functionality? Thanks.
The text was updated successfully, but these errors were encountered: