| 58 | } |
| 59 | |
| 60 | void Window::Reorder(HWND base) |
| 61 | { |
| 62 | pmlog_verb(v::core_window)(std::format("hwnd:{:8x}", (uint64_t)base)); |
| 63 | if (SetWindowPos(hWnd, GetNextWindow(base, GW_HWNDPREV), 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOMOVE) == FALSE) |
| 64 | { |
| 65 | pmlog_warn(std::format("failed to reorder window {}", str::ToNarrow(GetTitle()))).hr(); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | void Window::ReorderBehind(HWND base) |
| 70 | { |
no test coverage detected