mohamed rejeb
02/28/2024, 6:29 AMIvan Matkov
02/28/2024, 7:23 AMmohamed rejeb
02/28/2024, 9:31 AMundecorated
to true.mohamed rejeb
02/28/2024, 9:34 AMundecorated
at runtime without causing a crash.Igor Demin
02/28/2024, 11:54 AMundecorated
after the window is visible (maybe the native API as well, not sure).
We can support changing undecorated
on the Compose level, but we would also recreate the whole window (though, we can keep the content/composition state intact)rob42
02/28/2024, 7:02 PMUser32.INSTANCE.SetWindowLongPtr(hWnd, WinUser.GWL_STYLE, TheNewStyleHere)
I believe a zero value will give you a plain, undecorated window. You'd want to store the previous value (via GetWindowLongPtr) in order to swap back to it.
https://learn.microsoft.com/en-us/windows/win32/winmsg/window-stylesrob42
02/28/2024, 7:14 PM