[Runner] Open settings when runner is elevated (#12597)
This commit is contained in:
parent
37e130a1a8
commit
cc6a8d30b3
1
.github/actions/spell-check/expect.txt
vendored
1
.github/actions/spell-check/expect.txt
vendored
|
@ -1301,6 +1301,7 @@ mscorlib
|
|||
msdata
|
||||
MSDN
|
||||
msedge
|
||||
MSGFLT
|
||||
mshtmdid
|
||||
msi
|
||||
MSIFASTINSTALL
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue