| 47 | namespace |
| 48 | { |
| 49 | bool IsWindowMaximized(HWND window) |
| 50 | { |
| 51 | WINDOWPLACEMENT placement; |
| 52 | if (!::GetWindowPlacement(window, &placement)) |
| 53 | return false; |
| 54 | return placement.showCmd == SW_MAXIMIZE; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | WindowsWindow::WindowsWindow(const CreateWindowSettings& settings) |