LAPTOP-SNT8I5JK\Boounion
2025-01-09 3175d60b3b6e3f43ae62193743c4017db27005dc
SourceCode/Bond/BoounionPLC/BoounionPLCDlg.cpp
@@ -62,6 +62,7 @@
   m_crBkgnd = APP_MAIN_DLG_BACKGROUND;
   m_hbrBkgnd = nullptr;
   m_pActiveView = nullptr;
   m_pPageLogcat = nullptr;
}
void CBoounionPLCDlg::DoDataExchange(CDataExchange* pDX)
@@ -114,6 +115,7 @@
               if (m_pActiveView->GetContext() != (void*)pPlc) {
                  m_pActiveView->SetWindowText(pPlc->getName().c_str());
                  m_pActiveView->SetContext(pPlc);
                  m_pActiveView->SendMessage(WM_NCPAINT, 0, 0);
               }
            }
         }
@@ -193,6 +195,13 @@
   m_pMainContainer->ShowWindow(SW_SHOW);
   // 日志
   m_pPageLogcat = new CPageLogcat();
   m_pPageLogcat->Create(IDD_PAGE_LOGCAT, m_pMainContainer);
   m_pPageLogcat->ShowWindow(SW_SHOW);
   m_pMainContainer->SetBottomWnd(m_pPageLogcat, 220);
   // 菜单
   CMenu menu;
   menu.LoadMenu(IDR_MENU_APP);