Small Extended Window Style without Titlebar
tscholl89
1
Reputation point
I need the following properties on my WPF Window:
- [Extended Window Style][1] (because i need the WS_EX_NOACTIVATE attribute)
- Completely hide the Minimize, Maximize, Close buttons
- Allowing the window to be as small as about 10 units
- the Window can not have Windowstyle=None
Setting the Window as a Toolwindow will not allow me to completely hide the close button, (using ~WS_SYSMENU has not effect), but would allow me to set narrow Window Setting the Window as a Singleborderwindow allows me to completely hide titlebar buttons (using ~WS_SYSMENU), but will not allow me to set the window size smaller as 100 units [1]: https://learn.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles