mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Runner] Open settings when runner is elevated (#12597)
This commit is contained in:
committed by
GitHub
parent
37e130a1a8
commit
cc6a8d30b3
@@ -246,6 +246,7 @@ void start_tray_icon()
|
||||
std::wstring about_msg_pt_version = L"PowerToys " + get_product_version();
|
||||
wcscpy_s(tray_icon_data.szTip, sizeof(tray_icon_data.szTip) / sizeof(WCHAR), about_msg_pt_version.c_str());
|
||||
tray_icon_data.uFlags = NIF_ICON | NIF_TIP | NIF_MESSAGE;
|
||||
ChangeWindowMessageFilterEx(hwnd, WM_COMMAND, MSGFLT_ALLOW, nullptr);
|
||||
|
||||
tray_icon_created = Shell_NotifyIcon(NIM_ADD, &tray_icon_data) == TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user