c++ - 如果 HWND 窗口仍然存在,我该如何确定

标签 c++ windows window hwnd

<分区>

Possible Duplicate:
Validate HWND using Win32 API

如果 HWND 的窗口仍然存在,我该如何确定?我有一个窗口的 HWND。该窗口存在于另一个进程中。我想知道窗口是否仍然“活着”。做这个的最好方式是什么?

最佳答案

MSDN IsWindow 函数就是这样做的:

Determines whether the specified window handle identifies an existing window.

关于c++ - 如果 HWND 窗口仍然存在,我该如何确定,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9924455/

相关文章:

c++ - 'getaddrinfo' : identifier not found

c# - 无法调整外部窗口的大小

JQuery 窗口打印功能问题

java - 强制 java 应用程序成为焦点窗口

c# - 我可以为外部硬盘写一个扩展吗

c++ - 我如何在 VS2008 中强命名 C++ 程序集?

c++ - 错误 : using typedef-name after class

c++ - 创建 2d unordered_map C++

windows - 崩溃显示Visual Studio选项。但不显示不发送消息

windows - Win32 API中GetMessage()的内部机制?