Try WaitForInputIdle(), a good indicator that the process has started pumping a message loop and has thus finished initializing, created its windows and is ready for user input.
I need to determine when a 3rd party app that I spawn gets into a certain state. Try WaitForInputIdle(), a good indicator that the process has started pumping a message loop and has thus finished initializing, created its windows and is ready for user input.
There could be small delay between the function returns and actual main window handle created. May be also it's good to add some ms delay after... – Tigran 6 hours ago Good thinking but not applicable in this case. The app goes in and out of the state I am interested in.
And in the process it appears and disappears from the task bar. I have spied on the message within the window but haven't found any other indicator but its presence in the task bar. As far as I can see my best option is to somehow monitor the presence of the app in the task bar.
– Harald 5 hours ago.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.