Advertise with us

Windows form always on top not working c#

Posted by  Jayden Bell
 3965  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 :)

  1. Re: Windows form always on top not working c#

    Hi Jayden,

    NameOfYourWindow myTopForm = new NameOfYourWindow();

    myTopForm.Owner = App.Current.MainWindow;

    myTopForm.ShowInTaskbar = false;

    myTopForm.TopMost = true;