...and it makes no sense why. T-T
In my Application_Startup
event handler I have code that looks kinda like this:
private void Applicati
Create transparent hidden window and use it as an owner of the MessageBox:
private Window CreateHiddenWindow()
{
var window = new Window
{
AllowsTransparency = true,
Background = System.Windows.Media.Brushes.Transparent,
WindowStyle = WindowStyle.None,
Top = 0,
Left = 0,
Width = 1,
Height = 1,
ShowInTaskbar = false
};
window.Show();
return window;
}