Alert user during incoming connection
This commit is contained in:
parent
8f66edfa04
commit
417551a132
@ -291,6 +291,11 @@ namespace wc {
|
||||
SetDlgItemText(dlg, IDC_STATICREMOTEINFO, app->m_inAddress.c_str());
|
||||
SendDlgItemMessage(dlg, IDC_EDITSCREENNAME, EM_SETCUEBANNER, TRUE, reinterpret_cast<LPARAM>(L"User"));
|
||||
|
||||
//Get the attention of the user
|
||||
FLASHWINFO fw = { .cbSize = sizeof(fw), .hwnd = GetParent(dlg), .dwFlags = FLASHW_TRAY | FLASHW_TIMERNOFG };
|
||||
FlashWindowEx(&fw);
|
||||
MessageBeep(MB_OK);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user