C
C#13mo ago
Tueem

❔ 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.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
2 Replies
JakenVeina
JakenVeina13mo ago
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
Accord
Accord13mo ago
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.
Want results from more Discord servers?
Add your server