❔ WPF can't remove some kind of window title hitbox
So I've got this screenshot window which should basically be exactly like the Windows snipping tool and not expose any sort of window control except the ones I specify.
XAML Code: https://pastebin.com/Wyxi1H63
As you can see I've done
WindowStyle=None
and the WindowChrome stuff.
But for some reason there is still some kind of title bar left that changes the type of cursor, enables me to drag the window and on right click shows me this weird context menu. (as seen in the attachment video)
Basically I just want to disable that completely while simultaneously preserving all window functions like key events.2 Replies
you probably need to skip WPF entirely, and go to the raw Win32 APIs and draw calls
I don't know of anything else to do outside of WindowStyle=None
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.