| | |
| | | m_crBkgnd = APP_MAIN_DLG_BACKGROUND; |
| | | m_hbrBkgnd = nullptr; |
| | | m_pActiveView = nullptr; |
| | | m_pPageLogcat = nullptr; |
| | | } |
| | | |
| | | void CBoounionPLCDlg::DoDataExchange(CDataExchange* pDX) |
| | |
| | | if (m_pActiveView->GetContext() != (void*)pPlc) { |
| | | m_pActiveView->SetWindowText(pPlc->getName().c_str()); |
| | | m_pActiveView->SetContext(pPlc); |
| | | m_pActiveView->SendMessage(WM_NCPAINT, 0, 0); |
| | | } |
| | | } |
| | | } |
| | |
| | | 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); |