| 84 | } |
| 85 | |
| 86 | void Window::ClearTopmost() |
| 87 | { |
| 88 | pmlog_verb(v::core_window)(); |
| 89 | if (SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOMOVE) == FALSE) |
| 90 | { |
| 91 | pmlog_warn(std::format("failed to make window non-topmost {}", str::ToNarrow(GetTitle()))).hr(); |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | void Window::Close() |
| 96 | { |
no test coverage detected