Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

OpenFileDialog without losing focus afterwards

$
0
0
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?

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>