3
votes

I have an MDI application (written in .NET 2.0) which lets users open multiple child forms. The child forms are always maximized inside the MDI parent. When the MDI parent is maximized and I attempt to do a MessageBox.Show, the MessageBox doesn't show. If I do an alt-tab (or even just press alt) the MessageBox pops to the front.

Any ideas how to make that sucker show up to begin with?

This is only a problem when the MDI parent is maximized...

1
Tad! Friendfeed! Wish I had something intelligent to say on MDI question.micahwittman
I have the exact same problem. Did you ever discover a solution to this problem? Does anyone have any ideas how to get around this?David Božjak

1 Answers

2
votes

Try using MessageBox.Show(Window owner, string message, string caption) Setting the MDI application as owner so the MB is shown in the front

Ah, you should also add some tags to your post.