Implement WindowFlag.Borderless for Windows

This commit is contained in:
Roman Chistokhodov 2017-10-01 16:07:35 +03:00
parent f8136c627d
commit 0289d17625
1 changed files with 3 additions and 0 deletions

View File

@ -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