Home > DeveloperSection > Forums > Windows form always on top not working c#
Jayden Bell
Jayden Bell

Total Post:110

Posted on    January-27-2014 2:54 AM

 C# C# 

 1 Reply(s)
 2983  View(s)
Rate this:

I need to show a message notification from a systray app while users are operating in a browser. 

I want this notification to be displayed on top of everything but even if I set it to be TopMost or TopLevel or BringToFront or Focus there's no way I can achieve what I want.

I'm using a simple windows Form and I show it using ShowDialog from the systray app.

Please help me :)

Pravesh Singh

Total Post:412

Posted on    January-27-2014 3:14 AM

Hi Jayden,

NameOfYourWindow myTopForm = new NameOfYourWindow();

myTopForm.Owner = App.Current.MainWindow;

myTopForm.ShowInTaskbar = false;

myTopForm.TopMost = true;


Don't want to miss updates? Please click the below button!

Follow MindStick