Showing results for October 26, 2011 - The Old New Thing

Oct 26, 2011
0
0

How can I get notified when some other window is destroyed?

Raymond Chen
Raymond Chen

A customer wanted to know whether there was a method (other than polling) to monitor another window and find out when it gets destroyed. The goal was to automate some operation, and one of the steps was to wait until some program closed its XYZ window before moving on to the next step. Finding the XYZ window could be done with a , but since the wi...

Code