Mercurial > mm7
diff OSWindow.cpp @ 1995:25e3772e3650
window style fix
author | zipi |
---|---|
date | Sun, 03 Nov 2013 13:33:37 +0000 |
parents | 4088cc908c78 |
children | 28cb79ae2f6f |
line wrap: on
line diff
--- a/OSWindow.cpp Sun Nov 03 11:46:52 2013 +0000 +++ b/OSWindow.cpp Sun Nov 03 13:33:37 2013 +0000 @@ -510,7 +510,8 @@ { SetWindowLongW(api_handle, GWL_EXSTYLE, 0); SetWindowLongW(api_handle, GWL_STYLE, WS_VISIBLE | WS_OVERLAPPEDWINDOW); - + SetWindowPos(api_handle, HWND_TOP, 0, 0, -1, -1, 0); + RECT rcWindow; GetWindowRect(api_handle, &rcWindow);