Fix MsgBox simultaneous instance to the front

This commit is contained in:
Jaime Bernardo 2024-11-18 12:03:57 +00:00
parent 28aca4895d
commit 0ea9df5787

View File

@ -7059,7 +7059,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance
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.",
APPNAME, MB_ICONERROR);
APPNAME, MB_ICONERROR | MB_SETFOREGROUND);
return 1;
}