#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;
|
|
};
|