Is there a function that can tell me if an Application sent a message that
awaits user response?


While Application 'A' is processing, an error is found, so it asks the user
if he wants to continue or not, but the process runs at night and there is
no one that can answer the message. I want to write a VB app that terminates
application 'A' if it is awaiting that user response, and then initiate another

Is this possible with the WIN32 API?

Thanks in advance..