提交 | 用户 | age
|
b978bf
|
1 |
#pragma once
|
Q |
2 |
|
e00d5a
|
3 |
#include "MTerm2View.h"
|
b978bf
|
4 |
|
Q |
5 |
// CMyDlgBarInputShow 对话框
|
|
6 |
|
|
7 |
class CMyDlgBarInputShow : public CDialogBar
|
|
8 |
{
|
|
9 |
DECLARE_DYNAMIC(CMyDlgBarInputShow)
|
|
10 |
|
|
11 |
public:
|
|
12 |
CMyDlgBarInputShow(CWnd* pParent = nullptr); // 标准构造函数
|
|
13 |
virtual ~CMyDlgBarInputShow();
|
|
14 |
|
|
15 |
// 对话框数据
|
|
16 |
#ifdef AFX_DESIGN_TIME
|
|
17 |
enum { IDD = IDD_DIALOGBAR_INPUT_SHOW };
|
|
18 |
#endif
|
e00d5a
|
19 |
public:
|
YC |
20 |
struct tagInputCell
|
|
21 |
{
|
|
22 |
char OP= CMTerm2View::typeNO;
|
|
23 |
bool bnot=false;
|
|
24 |
bool bpp= false;
|
|
25 |
bool bpn = false;
|
|
26 |
bool bcmpEq = false;
|
|
27 |
bool bcmpLt = false;
|
|
28 |
bool bcmpGt = false;
|
|
29 |
bool bDouble = false;
|
|
30 |
bool bDouble1 = false; //for -||-D and -||- turn
|
|
31 |
bool bFloat = false;
|
|
32 |
bool bFloat1 = false;
|
|
33 |
bool bLeftLineUp = false;
|
|
34 |
bool brightLineUp = false;
|
|
35 |
int param=0;
|
|
36 |
CString num=_T("");
|
|
37 |
};
|
|
38 |
tagInputCell stInputCell;
|
b978bf
|
39 |
protected:
|
Q |
40 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
e00d5a
|
41 |
public:
|
YC |
42 |
|
b978bf
|
43 |
DECLARE_MESSAGE_MAP()
|
e00d5a
|
44 |
public:
|
YC |
45 |
int SetDisplay(int inputInfo);
|
|
46 |
int SetDisplay1(int inputInfo);
|
|
47 |
int display(tagInputCell stDisplayCell);
|
|
48 |
void stInit();
|
|
49 |
CEdit m_edit_input;
|
|
50 |
|
b978bf
|
51 |
};
|