MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / SetWindowPos

Method SetWindowPos

Shadows/SampleFramework11/Window.cpp:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172void Window::SetWindowPos(INT posX, INT posY)
173{
174 if (!::SetWindowPos(hwnd, HWND_NOTOPMOST, posX, posY, 0, 0, SWP_NOSIZE))
175 throw Win32Exception(::GetLastError());
176}
177
178void Window::GetWindowPos(INT& posX, INT& posY) const
179{

Callers

nothing calls this directly

Calls 1

Win32ExceptionClass · 0.85

Tested by

no test coverage detected