title: Force MessageBox to be on top of application window in .net/WPF
body: <p>In my WPF app, I sometimes being up a <code>System.Windows.MessageBox</code>. When it is initially displayed, it is shown on top of my main application window, as I would like. Is there a way that I can force it to ALWAYS remain top of the main window? The problem I have is that when a <code>MessageBox</code> is displayed, users can then click on the main app window and bring it to the front, meaning the <code>MessageBox</code> becomes hidden from view. In this case the user might not realize it's there, or forget about it, and to them, the main app seems to have frozen.</p>
  
  <p>I've read a number of threads about this, but none have resolved the problem for me.</p>
  
  <p>I ought to add that the thread putting up the <code>MessageBox</code> might not be the UI thread.
  Thanks
  Tom</p>