I suggest that modal dialog boxes have a higher priority than non-modal
always-on-top forms, as an unanswered modal dialog will give the appearance
of a hung app.

Good morning. I've been beating my head against a problem where my C#
app was hanging, and I finally isolated it to MessageBox.Show(). I use this
function many times in the app, and I couldn't figure out why it wasn't
working in this one case. Just in case anyone else goes through this same
problem, here was what was happening: part of my app is always-on-top, as a
kind of floating menu. The message box was appearing _behind_ the menu, and
for this one bit of code, the message box was so small it didn't show up
around the menu.
For my app, a better solution would probably be to put all my forms
inside a MDI frame, rather than my current GDK-ish solution with
free-floating forms, but if this post saves anyone an hour's headache, or at
least gets a laugh, it's worth the bits!

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?mid=ca9f172b-ee14-4bfe-a72e-e57eefd0e9d7&dg=microsoft.public.dotnet.framework.windowsforms