1) How to handle opening of a window, which belongs to another process (separate application)? The window has unique title, but not unique class. I need more intelligent way, than just calling FindWindow() from infinite loop
2) How can I monitor and handle closing/terminating of that window, after I found it?