Given a handle of type HWND is it possible to confirm that the handle represents a real window?
+1
A:
Generally no. By the time you've got confirmation that a Window is valid another process/thread my come along and remove it for you.
graham.reeds
2008-08-13 11:47:16
A:
Graham is right .. some time in race it is very tough to rely on IsWindow API
alok
2009-09-12 14:33:20