| 205 | } |
| 206 | |
| 207 | void Window::GetClientArea(INT& clientX, INT& clientY) const |
| 208 | { |
| 209 | RECT clientRect; |
| 210 | if (!::GetClientRect(hwnd, &clientRect)) |
| 211 | throw Win32Exception(::GetLastError()); |
| 212 | |
| 213 | clientX = clientRect.right; |
| 214 | clientY = clientRect.bottom; |
| 215 | } |
| 216 | |
| 217 | void Window::SetWindowTitle(LPCWSTR title) |
| 218 | { |
no test coverage detected