[MouseUtils]Add PowerToys to window names (#14892)

This commit is contained in:
Jaime Bernardo
2021-12-09 11:08:53 +00:00
committed by GitHub
parent 2ba1dcf03a
commit c681988892
2 changed files with 2 additions and 3 deletions

View File

@@ -99,8 +99,7 @@ private:
private:
static constexpr auto className = L"FindMyMouse";
// Use the runner name for the Window title. Otherwise, since Find My Mouse has an actual visual, its Window name will be the one shown in Task Manager after being shown.
static constexpr auto windowTitle = L"PowerToys Runner";
static constexpr auto windowTitle = L"PowerToys Find My Mouse";
static LRESULT CALLBACK s_WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

View File

@@ -47,7 +47,7 @@ private:
static LRESULT CALLBACK MouseHookProc(int nCode, WPARAM wParam, LPARAM lParam) noexcept;
static constexpr auto m_className = L"MouseHighlighter";
static constexpr auto m_windowTitle = L"MouseHighlighter";
static constexpr auto m_windowTitle = L"PowerToys Mouse Highlighter";
HWND m_hwndOwner = NULL;
HWND m_hwnd = NULL;
HINSTANCE m_hinstance = NULL;