本文介绍了在Windows XP上挂起并恢复后,WPF应用程序被锁定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在编写一个系统任务栏应用程序,该应用程序有一个带有一些GUI的主窗口.从挂起状态恢复操作系统时,我们看到应用程序出现奇怪问题,该应用程序完全锁定.
- 我们运行该应用程序
- 我们将应用程序关闭到系统托盘,基本上隐藏了主窗口. 通过选择挂起"来挂起操作系统.关机菜单中的选项.
- 然后我们给PC供电,然后
- 从系统任务栏中最大化应用程序
- We Run the application
- We close the application to system tray, we basically hide the main window.
- Suspend OS by selecting "Suspend" option from the Shutdown menu.
- Then we power the PC back and
- Maximize the application from System Tray
We are writing a system tray application and the application has a main window with some GUI . We are seeing strange issue with application when resume OS from Suspended State, The application completely locks up.
该应用程序已完全锁定.没有一个UI元素响应鼠标/键盘,它看起来更像是应用程序已锁定.
是否需要做一些事情才能使消息泵正常工作?.
The application is completely locked. None of the UI elements respond to mouse/keyboard it more looks like
the application is locked.
Is there some thing I should do to make the message pump working?.
推荐答案
这篇关于在Windows XP上挂起并恢复后,WPF应用程序被锁定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!