diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-15 12:23:43 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-15 12:23:43 +0000 |
commit | ecb86db7d2707aee53fabd472df6681c94074af7 (patch) | |
tree | 12c0846ccf9e660c912b0ae27b8f2f2879c47ca1 /cppe/demo/IceE/chat/ChatClientDlg.cpp | |
parent | Fixed bugs (diff) | |
download | ice-ecb86db7d2707aee53fabd472df6681c94074af7.tar.bz2 ice-ecb86db7d2707aee53fabd472df6681c94074af7.tar.xz ice-ecb86db7d2707aee53fabd472df6681c94074af7.zip |
Removed setting of RetryIntervals
Diffstat (limited to 'cppe/demo/IceE/chat/ChatClientDlg.cpp')
-rw-r--r-- | cppe/demo/IceE/chat/ChatClientDlg.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cppe/demo/IceE/chat/ChatClientDlg.cpp b/cppe/demo/IceE/chat/ChatClientDlg.cpp index a13fa3b8c9b..b3e8b249be3 100644 --- a/cppe/demo/IceE/chat/ChatClientDlg.cpp +++ b/cppe/demo/IceE/chat/ChatClientDlg.cpp @@ -158,7 +158,12 @@ CChatClientDlg::OnSend() catch(const Ice::ConnectionLostException&) { AfxMessageBox(CString("Login timed out due to inactivity"), MB_OK|MB_ICONEXCLAMATION); - EndDialog(0); + _chat = 0; + _edit->EnableWindow(FALSE); + ((CButton*)GetDlgItem(IDC_SEND))->EnableWindow(FALSE); + (CEdit*)GetDlgItem(IDC_LOG2)->EnableWindow(FALSE); + ((CButton*)GetDlgItem(IDC_CONFIG))->SetWindowText("Login"); + return; } // |