AbortRetryIgnore

shers

Well-known member
Joined
Aug 12, 2007
Messages
86
Programming Experience
1-3
Hi,

I have added a message box in my code with style AbortRetryIgnore. In case they click the Retry button, the message box should not close until a file that is mentioned in the message is closed by the user. How can this be accomplished?

Thanks
 
The "message box" always closes when a button is pressed. You have add a custom Dialog form and set DialogResult for Abort/Ignore buttons and only for Retry button if successful.
 
Would you not close the dialog, look to see if the file is in use, then you the dialog again? That's the behavior I'm used to when an application can't save or something, I click retry and I actually see that something happened and the application did "retry" before the error message appears again...
 
Back
Top