Hello,
I'm trying to achieve the following:
1. Have a windows form open a modal MessageBox (with MessageBox.Show())
2. Minimize (or hide) this form along with the open MessageBox.
3. Restore the form, so it returns to its original state - with the MessageBox open modally above it (and at the same place in the form code of course - the call to the MessageBox.Show() method.
My problem is whenever I hide the MessageBox (using the Hide method or Win32 api call) the MessageBox.Show() method returns (as if the MessageBox has been closed). How can I avoid this behavior and achieve steps 1-3?
Thanks.