Detecting Dialogs from other application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have some C# code that runs via the VSAEngine under a host program. There
is a situation where the host program will display a dialog that will stop
execution of my code. There is no API available to me to prevent this.

Is there a way by either looking at windows messages or a hook, that I could
detect when this dialog is displayed? Once I detect it, I know how to send it
keystrokes so that it will dismiss.

I haven't done any C/C++ windows programming, so if there is a way, I would
appreciate some pointers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top