mirror of https://github.com/buggins/dlangui.git
Implement WindowFlag.Borderless for Windows
This commit is contained in:
parent
f8136c627d
commit
0289d17625
|
@ -282,6 +282,9 @@ class Win32Window : Window {
|
|||
_dy = screenRc.height;
|
||||
ws = WS_POPUP;
|
||||
}
|
||||
if (flags & WindowFlag.Borderless) {
|
||||
ws = WS_POPUP | WS_SYSMENU;
|
||||
}
|
||||
|
||||
|
||||
_hwnd = CreateWindowW(toUTF16z(WIN_CLASS_NAME), // window class name
|
||||
|
|
Loading…
Reference in New Issue