MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Move

Method Move

IntelPresentMon/Core/source/win/Window.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 void Window::Move(gfx::Vec2I pos)
52 {
53 pmlog_verb(v::core_window)(std::format("pos:[{},{}]", pos.x, pos.y));
54 if (SetWindowPos(hWnd, nullptr, pos.x, pos.y, 0, 0, SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE) == FALSE)
55 {
56 pmlog_warn(std::format("failed to move window {}", str::ToNarrow(GetTitle()))).hr();
57 }
58 }
59
60 void Window::Reorder(HWND base)
61 {

Callers 2

UpdateTargetRectMethod · 0.80

Calls 1

ToNarrowFunction · 0.85

Tested by

no test coverage detected