Window Hud Behavior (Pass through clicks, can't be minimized)
Question
I'd like to write a simple HUD style application using WPF (if I'm using the wrong technology, I'll take suggestions).
As a simple example, I'd to place text along the top of the screen like "Library Computer" that ignores all clicks (ie doesn't effect the rest of Windows) but is always on top and can't be minimized.
Solution
Relevant properties to set on the window:
AllowsTranparency
->true
WindowStyle
->None
ResizeMode
->NoResize
WindowState
->Maximized
Topmost
->true
IsHitTestVisible
->false
(This alone won't do, you need some OS interop)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow