Jump to content

Finding a dependent MsgBox statement


MCP
 Share

Recommended Posts

I know I have full control of any GUI I create by using the window handle I get at the creation time, but what about a MsgBox?

While closing the application, I would like to catch my currently open MsgBox popups and close them automatically. Is there a "clean" way to catch them, or do I have to loop between the existing windows and look for a specific text occurrence and then send the right hotkey?

The solution I have currently found is recreating the GUI in a MsgBox way and that would allow me a consistent approach.

Thx in advance.

Edited by MCP
Link to comment
Share on other sites

Your best bet is to make a GUI msgbox, then array the handles.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...