From df685a2064abd0fef557c250dcb7bbd38f480826 Mon Sep 17 00:00:00 2001 From: Yao Chunli <56721587@qq.com> Date: 星期二, 21 六月 2022 16:37:00 +0800 Subject: [PATCH] Merge branch 'dev2' of http://3u015c326.zicp.vip:8111/r/MultiTerminal1 into dev2 --- MTerm2/MyDlgBarInputShow.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/MTerm2/MyDlgBarInputShow.h b/MTerm2/MyDlgBarInputShow.h new file mode 100644 index 0000000..fa24649 --- /dev/null +++ b/MTerm2/MyDlgBarInputShow.h @@ -0,0 +1,51 @@ +锘�#pragma once + +#include "MTerm2View.h" + +// CMyDlgBarInputShow 瀵硅瘽妗� + +class CMyDlgBarInputShow : public CDialogBar +{ + DECLARE_DYNAMIC(CMyDlgBarInputShow) + +public: + CMyDlgBarInputShow(CWnd* pParent = nullptr); // 鏍囧噯鏋勯�犲嚱鏁� + virtual ~CMyDlgBarInputShow(); + +// 瀵硅瘽妗嗘暟鎹� +#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