Hi
I am using System.Windows.Forms from Mono (I think) to call OpenFileDialog.
But after I call the OpenFileDialog. It will not return to the original window.
Here's my simplistic code for calling OFD:
var ofd : System.Windows.Forms.OpenFileDialog = new System.Windows.Forms.OpenFileDialog();
ofd.Title = "Select Music file";
ofd.Filter = "MP3 Audio (*.mp3)| *.mp3|OGG Vorbis (*.ogg)|*.ogg";
if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK){
Debug.Log(ofd.FileName);
Is there a way to keep the gameWindow (In fullscreen) in focus after OFD?
↧