2

I'm working on a .Net (WPF/C#) application, the application displays notifications (similar to Growl notifications on OS X) at different times, I would like the notifications to display above all other windows, including when there is a full screened app (like a PowerPoint presentation).

Is there anyway to display a Window over a full screened app?

Alexei Levenkov
  • 98,904
  • 14
  • 127
  • 179
Mitciv
  • 813
  • 3
  • 15
  • 21
  • 1
    Search term is "Topmost". Don't forget to check out [TopMost is not TopMost always](http://stackoverflow.com/questions/3729369/topmost-is-not-topmost-always-wpf) – Alexei Levenkov Jun 21 '13 at 05:37
  • 2
    And then the next developer comes along and wants to write an application that can go full screen and even block out your notifications. And so we go around in another circle again. Raymond Chen has written some great posts about the [Walls and Ladders game](http://blogs.msdn.com/b/oldnewthing/archive/2012/01/17/10257351.aspx) – Damien_The_Unbeliever Jun 21 '13 at 06:18

3 Answers3

0

Did you try to set TopMost = true parameter of this window?

also check this thread: Form top most?

Community
  • 1
  • 1
Łukasz Motyczka
  • 1,169
  • 2
  • 13
  • 35
0

or you can use Popup instead, it will on top of any window or control.

tim
  • 121
  • 4
0

WPF.

private void Window_Deactivated(object sender, EventArgs e)
{
  Thread.Sleep(2000);
  this.Topmost = true;        
}

But this is not the best option. In full screen mode there is exclusive access to the display, and you can only display on top of this if you are allowed to implement it if it's a game in OpenGL, DirectX and BackBuffer to impose your data.