WPF Full screen focus issue?

I've a bit of an issue with a WPF application I recently wrote, which I'm hoping is something trivial but I can't figure out an appropriate way to debug.

My WPF application is a full screen application, that hides the mouse and is intended to be driven via the keyboard and as far as I'm aware is the only application running on the machine (it's placed in the Startup folder on a windows machine). The application itself is a clock/stopwatch style application for talks so recieves input at fairly infrequent intervals.

The problem that has been found, is that after a period of inactivity the application stops responding to keyboard input and requires a click of the mouse to start working again, almost as though it has lost focus. I believe all the power settings are turned off on the machine, but I'd be grateful if anyone could think of anything else that might be causing the problem, or if there's a way I can ensure the application never loses focus. Any Ideas?


您可以尝试连接FocusLost事件中的事件处理程序以将焦点设置回窗口

链接地址: http://www.djcxy.com/p/50476.html

上一篇: 阅读pdf时,Jaws屏幕阅读器滚动功能问题

下一篇: WPF全屏焦点问题?