✅ Is there a way in Xaml/WPF to hide the x button or keep the player from closing the window?
Hello! So i'm building just a little rpg with xaml and as i'm opening new windows for certain events like combat I don't want the player to be able to close the window without finshing the fight.
I only know Show and ShowDialog. Thanks!
6 Replies
not really, no
not straightforwardly
the truth of the matter is that if you're making a game, you shouldn't REALLY be using WPF
actually, I stand corrected
it's more straightforward than I recall, in WPF
I must be confusing with some other framework
Stack Overflow
How to make title bar disappear in WPF window?
I know this has been asked before but I've tried answers:
How to create a WPF Window without a border that can be resized via a grip only?
How to remove the title bar from a window but keep the bo...
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
not the game as a whole but just one window, so rry if i wasn't clear
Why's that?
Because that's not what it's designed for. It's designed for building Window-based GUIs.
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.