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

Method GetWindowPos

SampleFramework12/v1.00/Window.cpp:183–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void Window::GetWindowPos(INT& posX, INT& posY) const
184{
185 RECT windowRect;
186 if(!::GetWindowRect(hwnd, &windowRect))
187 throw Win32Exception(::GetLastError());
188 posX = windowRect.left;
189 posY = windowRect.top;
190}
191
192void Window::ShowWindow(bool show)
193{

Callers

nothing calls this directly

Calls 1

Win32ExceptionClass · 0.85

Tested by

no test coverage detected