---
title: "Windows form always on top not working c#"  
description: "Windows form always on top not working c#"  
author: "Jayden Bell"  
published: 2014-01-27  
updated: 2014-01-27  
canonical: https://www.mindstick.com/forum/1880/windows-form-always-on-top-not-working-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Windows form always on top not working c#

I need to show a [message](https://www.mindstick.com/forum/12802/show-confirmation-message-yes-or-no-in-asp-dot-net) [notification](https://www.mindstick.com/blog/205/property-notification-in-c-sharp) from a systray app while [users](https://www.mindstick.com/news/2244/issue-preventing-users-from-accessing-facebook-s-social-networking-platforms-has-been-resolved) 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](https://yourviews.mindstick.com/audio/1251/how-music-can-improve-your-focus-and-mood) there's no way I can achieve what I want.

I'm using a [simple](https://yourviews.mindstick.com/story/1469/5-simple-ways-to-stay-fit-amp-healthy) [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) [Form](https://www.mindstick.com/forum/6/multi-form-mfc-application) and I show it using ShowDialog from the systray app.

Please help me :)

## Replies

### Reply by Pravesh Singh

Hi Jayden,\

NameOfYourWindow myTopForm = new NameOfYourWindow();

myTopForm.Owner = App.Current.MainWindow;

myTopForm.ShowInTaskbar = false;

myTopForm.TopMost = true;

myTopForm.ShowDialog();


---

Original Source: https://www.mindstick.com/forum/1880/windows-form-always-on-top-not-working-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
