Jump to content
Sign in to follow this  
MCP

Finding a dependent MsgBox statement

Recommended Posts

MCP

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

Share this post


Link to post
Share on other sites
McGod

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.