Use forground window as parent for errors
This commit is contained in:
parent
72fe938a61
commit
699dd4bfcb
@ -174,7 +174,7 @@ namespace
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
MessageBoxA(nullptr, e.what(), "ERROR", MB_ICONERROR);
|
||||
MessageBoxA(GetForegroundWindow(), e.what(), "ERROR", MB_ICONERROR);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user