您的位置:首页 > 其它

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: