[Q] How to detect when a window is created/displayed by another application
C / C++ / MFC
1
Posts
1
Posters
13
Views
1
Watching
-
I have an application, that on startup displays a login window. I would like to be able to somehow find out when that window appears, and then fill in the required fields, and close the window. I am currently setting up a timer to periodically call a method to check (using FindWindow ) whether the window has appeared. It works, but I was wondering if there is another better way of achieving this ? (some window creation message that I can trap, perhaps) thanks for any input