VC如何判断窗口是否无响应
2011-07-09 16:58
615 查看
今天看了资料,有一个函数可以实现这个功能的,只是平时没有看。
IsHungAppWindow
You call the IsHungAppWindow function to determine if Microsoft Windows considers that a specified application is not responding. An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.
Returns TRUE if the window stops responding, otherwise returns FALSE. Ghost windows always return TRUE.
IsHungAppWindow
You call the IsHungAppWindow function to determine if Microsoft Windows considers that a specified application is not responding. An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.
Returns TRUE if the window stops responding, otherwise returns FALSE. Ghost windows always return TRUE.
相关文章推荐
- 脚本开发教程分享:如何用按键精灵判断窗口是否无响应或卡屏呢
- [Windows编程] 如何判断一个窗口已经停止响应
- 如何在keyPressed事件中判断当前是否是SOFT1键以便响应回到上一界面?
- 如何判断(VC)系统中是否安装了.NET Framework
- vc 如何判断2个矩形是否有交集
- vc CListCtrl 如何判断列表中的内容是否被选中
- 【WM】如何判断两个窗口是否由同一进程创建
- 【WM】如何判断给定窗口是否是电话应用窗口
- 如何判断一个进程是否停止了响应(有对话框的)
- VC判断窗口是否被遮住。 已使用到项目中。
- 请问如何判断一个窗口是否处于隐藏状态?
- 如何判断当前窗口是否激活
- VC 如何判断是否是组合键消息
- 如何知道窗口是否无响应或卡屏呢
- vc CListCtrl 如何判断列表中的内容是否被选中?如何获取CListCtrl当前选中的行
- 如何判断一个窗口是否可以接受字符
- pywin32实践 判断程序窗口是否失去响应
- vc 如何判断2个矩形是否有交集
- 如何判断是否安装了VC RUNTIME
- javascript如何判断一个对象是否是窗口