From e00d5a1575d26f8fec1be6fa8a844203cd66a24c Mon Sep 17 00:00:00 2001
From: Yao Chunli <56721587@qq.com>
Date: 星期二, 21 六月 2022 16:11:11 +0800
Subject: [PATCH] edit input key

---
 MTerm2/MainFrm.h |   63 +++++++++++++++++++++++++------
 1 files changed, 50 insertions(+), 13 deletions(-)

diff --git a/MTerm2/MainFrm.h b/MTerm2/MainFrm.h
index cd7ce08..6a50834 100644
--- a/MTerm2/MainFrm.h
+++ b/MTerm2/MainFrm.h
@@ -3,12 +3,18 @@
 //
 
 #pragma once
+#include "NavView.h"
 #include "MyPaneLog.h"
 
 //class CMyPaneLog;
 #include "MyDialogLog.h"
 #include "../MyLib/StaticEx.h"
-class CMainFrame : public CMDIFrameWndEx
+#include "CMyFuncKeyToolBar.h"
+#include "MyDlgBarFuncKey.h"
+#include "MyDialogLog.h"
+#include "MyDlgBarInputShow.h"
+
+class CMainFrame : public CMDIFrameWnd
 {
 	DECLARE_DYNAMIC(CMainFrame)
 public:
@@ -23,7 +29,7 @@
 // 閲嶅啓
 public:
 	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
-
+	CStatusBar        m_wndStatusBar;
 // 瀹炵幇
 public:
 	virtual ~CMainFrame();
@@ -33,22 +39,26 @@
 #endif
 
 protected:  // 鎺т欢鏉″祵鍏ユ垚鍛�
-	CMFCToolBar          m_wndToolBar;
+	CToolBar          m_wndToolBar;
 
-	CMFCToolBar          m_wndToolBar_FuncKey;
-	CMFCToolBar          m_wndToolBar_Edit;
-	CMFCToolBar          m_wndToolBar_Num;
-	CMFCToolBar          m_wndToolBar_InputShow;
-	CMFCToolBar          m_wndToolBar_Comments;
+//	CMyFuncKeyToolBar   m_wndToolBar_Func_Key;
+	CMyDlgBarFuncKey	m_wndDlgBar_Func_Key;  
+	CToolBar          m_wndTBar_Edit_Key;
+	CToolBar          m_wndTBar_Num_Key;
+//	CToolBar          m_wndTBar_InputShow;
+	CMyDlgBarInputShow m_wndDlgBar_InputShow;
+
+	CToolBar          m_wndToolBar_Comments;
 	
+	CNavView        m_wndNavView;
+
 	CEdit				m_InputShowEdit;
-
 	CStaticEx			m_InputShowStatic;
-
-	CMFCStatusBar        m_wndStatusBar;
+	
 
 	CMyPaneLog		m_wndMyPaneLog;
-//	CMyDialogLog	m_dlgMyLog;
+	CMyDialogLog	m_dlgMyLog;
+	CMyDlgBarInputShow::tagInputCell localInputCell;
 
 // 鐢熸垚鐨勬秷鎭槧灏勫嚱鏁�
 protected:
@@ -70,8 +80,35 @@
 //	afx_msg void OnMenuViewLds();
 //	afx_msg void OnMenuViewBld();
 //	afx_msg void OnMenuViewBnl();
-
+	int GetInputInfo(int inputInfo);
+	int GetInputCell(CMyDlgBarInputShow::tagInputCell inputCell);
 	afx_msg void OnMenuShowLog();
+	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
+	afx_msg void OnBtn0();
+	afx_msg void OnBtn1();
+	afx_msg void OnBtn2();
+	afx_msg void OnBtn3();
+	afx_msg void OnBtn4();
+	afx_msg void OnBtn5();
+	afx_msg void OnBtn6();
+	afx_msg void OnBtn7();
+	afx_msg void OnBtn8();
+	afx_msg void OnBtn9();
+	afx_msg void OnBtnA();
+	afx_msg void OnBtnB();
+	afx_msg void OnBtnC();
+	afx_msg void OnBtnD();
+	afx_msg void OnBtnE();
+	afx_msg void OnBtnF();
+	afx_msg void OnBtnMinus();
+	afx_msg void OnBtnDot();
+	afx_msg void OnBtnRet();
+	afx_msg void OnBtnInsert();
+	afx_msg void OnBtnDelete();
+	afx_msg void OnBtnEsc();
+	afx_msg void OnMenuShowDev();
+
 };
 
 
+

--
Gitblit v1.9.1