how to set wpf MessageBox.Owner to desktop window because SplashScreen closes MessageBox
I am using the SplashScreen feature in WPF by setting a bitmap's Build Action to Splashscreen. Behind the splash screen, licensing information is being check, and if it fails I show a MessageBox . According to this Feedback , it is because the MessageBox.Owner is the splash screen and as soon as another window is open even if it is a MessageBox the splash screen window is closed which then in turn closes the MessageBox, so the user never sees the MessageBox. So the workaround would be to set the MessageBox.Owner to another window, but that would mean that I have to instantiate another window