Sign in to follow this  
Followers 0
cmacrun

msgbox window close aka "the red X"

2 posts in this topic

I have a few messages boxes come up prior to a silent install of XPSP2 that give the user the option to delay the install. Problem I see is the window close aka red X is active and can be used to close the window instead of clicking Yes/Cancel. I would either like to disable or know the return value so I can catch it if a user clicks on it. Right now if clicked it just continues on with the script.....

Thanks much.

Share this post


Link to post
Share on other sites



Sorry, it just occurred to me that I could easily figure that out. It returns a value of 2, same as cancel.

Sorry for the waste of space...it's monday!

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  
Followers 0