SourceCode/Bond/BoounionPLC/BoounionPLCDlg.cpp
@@ -126,7 +126,10 @@ } ASSERT(m_pActiveView); if (m_pActiveView->GetContext() != (void*)pPlc) { m_pActiveView->SetWindowText(pPlc->getName().c_str()); CString strTitle; strTitle.Format(_T("%s[%s:%d]"), pPlc->getName().c_str(), pPlc->getIp().c_str(), pPlc->getPort()); m_pActiveView->SetWindowText(strTitle); m_pActiveView->SetContext(pPlc); m_pActiveView->SendMessage(WM_NCPAINT, 0, 0); }