| 34 |
|
Rect.top = (GetSystemMetrics(SM_CYSCREEN) / 2) - (Height / 2); |
| 35 |
|
Rect.right = Rect.left + Width; |
| 36 |
|
Rect.bottom = Rect.top + Height; |
| 37 |
< |
AdjustWindowRect(&Rect, WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP, FALSE); |
| 37 |
> |
AdjustWindowRect(&Rect, WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP | WS_TILEDWINDOW , FALSE); |
| 38 |
|
|
| 39 |
< |
PlatformData->Window = CreateWindowEx(0, "ONI ", "ONI ", WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP, Rect.left, Rect.top, Rect.right - Rect.left, Rect.bottom - Rect.top, NULL, NULL, PlatformData->Instance, NULL); |
| 39 |
> |
PlatformData->Window = CreateWindowEx(0, "ONI ", "ONI ", WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_POPUP | WS_TILEDWINDOW , Rect.left, Rect.top, Rect.right - Rect.left, Rect.bottom - Rect.top, NULL, NULL, PlatformData->Instance, NULL); |
| 40 |
|
ShowWindow(PlatformData->Window, SW_SHOWNORMAL); |
| 41 |
|
UpdateWindow(PlatformData->Window); |
| 42 |
|
|