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