| 176 | } |
| 177 | |
| 178 | void Window::GetWindowPos(INT& posX, INT& posY) const |
| 179 | { |
| 180 | RECT windowRect; |
| 181 | if (!::GetWindowRect(hwnd, &windowRect)) |
| 182 | throw Win32Exception(::GetLastError()); |
| 183 | posX = windowRect.left; |
| 184 | posY = windowRect.top; |
| 185 | } |
| 186 | |
| 187 | void Window::ShowWindow(bool show) |
| 188 | { |
nothing calls this directly
no test coverage detected