SourceCode/Bond/BoounionPLC/PagePlcList.cpp
@@ -94,4 +94,13 @@ { m_treeCtrl.InsertItem("PLC1", nullptr, nullptr); m_treeCtrl.InsertItem("PLC2", nullptr, nullptr); } } BOOL CPagePlcList::PreTranslateMessage(MSG* pMsg) { if (pMsg->wParam == VK_RETURN || pMsg->wParam == VK_ESCAPE) { return TRUE; } return CDialogEx::PreTranslateMessage(pMsg); }