We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 049f05c commit f4c3ed5Copy full SHA for f4c3ed5
1 file changed
tinyphone/utils.cpp
@@ -24,7 +24,7 @@ namespace tp {
24
void ShowWinAlert(std::string title, std::string message) {
25
wchar_t *wmsg = new wchar_t[message.length() + 1]; //memory allocation
26
mbstowcs(wmsg, message.c_str(), message.length() + 1);
27
- MessageBoxW(NULL, wmsg, L"Error!", MB_ICONEXCLAMATION | MB_OK);
+ MessageBoxW(NULL, wmsg, L"Error!", MB_ICONEXCLAMATION | MB_OK | MB_SYSTEMMODAL);
28
delete[]wmsg;
29
}
30
0 commit comments