mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
Fix MsgBox simultaneous instance to the front
This commit is contained in:
parent
28aca4895d
commit
0ea9df5787
@ -7059,7 +7059,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance
|
|||||||
if (g_StartedByPowerToys)
|
if (g_StartedByPowerToys)
|
||||||
{
|
{
|
||||||
MessageBox(NULL, L"We've detected another instance of ZoomIt is already running.\nCan't start a new ZoomIt instance from PowerToys.",
|
MessageBox(NULL, L"We've detected another instance of ZoomIt is already running.\nCan't start a new ZoomIt instance from PowerToys.",
|
||||||
APPNAME, MB_ICONERROR);
|
APPNAME, MB_ICONERROR | MB_SETFOREGROUND);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user