MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / GetClientArea

Method GetClientArea

SampleFramework12/v1.00/Window.cpp:212–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void 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
222void Window::SetWindowTitle(LPCWSTR title)
223{

Callers 1

OnWindowResizedMethod · 0.80

Calls 1

Win32ExceptionClass · 0.85

Tested by

no test coverage detected