1

Possible Duplicate:
Validate HWND using Win32 API

How can I determent if the window of a HWND still exists? I have a HWND of a window. The window exists in another process. I want to know if the Window is still “alive”. What is the best way to do this?

Community
  • 1
  • 1
Laurence
  • 1,815
  • 4
  • 22
  • 35

1 Answers1

3

MSDN IsWindow function is doing exactly this:

Determines whether the specified window handle identifies an existing window.

Roman R.
  • 68,205
  • 6
  • 94
  • 158