Newbe Question: MessageBox Appears Behind Console

  • Thread starter Thread starter Yogi_Bear_79
  • Start date Start date
Y

Yogi_Bear_79

Help, My code works, but when the message box appears it is always behind
the console. I'd like it to be in fron unitl the user clicks "OK" or
manually sets focus back to the console.

Thanks
 
Hi Yogi_Bear_79,
Help, My code works, but when the message box appears it is always behind
the console. I'd like it to be in fron unitl the user clicks "OK" or
manually sets focus back to the console.

Could You tell if you're writing "Console Application" which shows
MessageBoxes?

Marcin
 
I'm using the following code to invoke the console, and MessageBoxes. I'm
not sure if this anwsers your question or not.

using System;
using System.Windows.Forms;
MessageBox.Show()
Console.WriteLine()
Consol Writte()
 
Back
Top