From 89cd7441c184d37f90d4d5311b348e938119765f Mon Sep 17 00:00:00 2001
From: zxd <zxdvslxy@gmail.com>
Date: 星期六, 21 十月 2023 12:28:04 +0800
Subject: [PATCH] 修改最后一个单元格不会被读取的问题

---
 MTerm2/MyDlgBarInputShow.h |   32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/MTerm2/MyDlgBarInputShow.h b/MTerm2/MyDlgBarInputShow.h
index de7c40e..fa24649 100644
--- a/MTerm2/MyDlgBarInputShow.h
+++ b/MTerm2/MyDlgBarInputShow.h
@@ -1,5 +1,6 @@
 锘�#pragma once
 
+#include "MTerm2View.h"
 
 // CMyDlgBarInputShow 瀵硅瘽妗�
 
@@ -15,9 +16,36 @@
 #ifdef AFX_DESIGN_TIME
 	enum { IDD = IDD_DIALOGBAR_INPUT_SHOW };
 #endif
-
+public:
+	struct tagInputCell
+	{
+		char OP= CMTerm2View::typeNO;
+		bool bnot=false;
+		bool bpp= false;
+		bool bpn = false;
+		bool bcmpEq = false;
+		bool bcmpLt = false;
+		bool bcmpGt = false;
+		bool bDouble = false;
+		bool bDouble1 = false;  //for  -||-D and -||- turn
+		bool bFloat = false;
+		bool bFloat1 = false;
+		bool bLeftLineUp = false;
+		bool brightLineUp = false;
+		int param=0;
+		CString num=_T("");
+	};
+	tagInputCell stInputCell;
 protected:
 	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
-
+public:
+	
 	DECLARE_MESSAGE_MAP()
+public:
+	int SetDisplay(int inputInfo);
+	int SetDisplay1(int inputInfo);
+	int display(tagInputCell stDisplayCell);
+	void stInit();
+	CEdit m_edit_input;
+
 };

--
Gitblit v1.9.1