G
Guest
Hello,
I have an application which consists of 11 forms. At times I use the
MessageBox.Show(owner, ...) to display messages or ask questions of the user.
The application often gets into a state where these boxes appear behind the
forms instead of in front of them. e.g. I click the cross in the main form
to close the application. The form closing event handler displays a message
box asking "are you sure?" with a choice of yes or no. However, instead of
appearing in front of the forms, the message box will appear behind them.
Once this occurs once, it seems to happen all the time. I have no idea what
could cause this...
Thanks,
David
I have an application which consists of 11 forms. At times I use the
MessageBox.Show(owner, ...) to display messages or ask questions of the user.
The application often gets into a state where these boxes appear behind the
forms instead of in front of them. e.g. I click the cross in the main form
to close the application. The form closing event handler displays a message
box asking "are you sure?" with a choice of yes or no. However, instead of
appearing in front of the forms, the message box will appear behind them.
Once this occurs once, it seems to happen all the time. I have no idea what
could cause this...
Thanks,
David