I am creating an app in WPF net 5 that will show text information on top of another (not fullscreen) program, and I tried using IsHitTestVisible
, but for some reason the mouse still colliders/interacts with the actual text render.
Am I missing some property that keeps blocking it?
Window Xaml code here
By handling a wndproc message for WM_MOUSEACTIVATE you can prevent the window from becom activated on mouse click.
Add this to your window:
C# devs
null reference exceptions