提交 | 用户 | age
|
0ed438
|
1 |
|
Q |
2 |
// MainFrm.h: CMainFrame 类的接口
|
|
3 |
//
|
|
4 |
|
|
5 |
#pragma once
|
|
6 |
#include "MyPaneLog.h"
|
|
7 |
|
|
8 |
//class CMyPaneLog;
|
|
9 |
#include "MyDialogLog.h"
|
|
10 |
#include "../MyLib/StaticEx.h"
|
|
11 |
class CMainFrame : public CMDIFrameWndEx
|
|
12 |
{
|
|
13 |
DECLARE_DYNAMIC(CMainFrame)
|
|
14 |
public:
|
|
15 |
CMainFrame() noexcept;
|
|
16 |
|
|
17 |
// 特性
|
|
18 |
public:
|
|
19 |
|
|
20 |
// 操作
|
|
21 |
public:
|
|
22 |
|
|
23 |
// 重写
|
|
24 |
public:
|
|
25 |
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
26 |
|
|
27 |
// 实现
|
|
28 |
public:
|
|
29 |
virtual ~CMainFrame();
|
|
30 |
#ifdef _DEBUG
|
|
31 |
virtual void AssertValid() const;
|
|
32 |
virtual void Dump(CDumpContext& dc) const;
|
|
33 |
#endif
|
|
34 |
|
|
35 |
protected: // 控件条嵌入成员
|
|
36 |
CMFCToolBar m_wndToolBar;
|
|
37 |
|
|
38 |
CMFCToolBar m_wndToolBar_FuncKey;
|
|
39 |
CMFCToolBar m_wndToolBar_Edit;
|
|
40 |
CMFCToolBar m_wndToolBar_Num;
|
|
41 |
CMFCToolBar m_wndToolBar_InputShow;
|
|
42 |
CMFCToolBar m_wndToolBar_Comments;
|
|
43 |
|
|
44 |
CEdit m_InputShowEdit;
|
|
45 |
|
|
46 |
CStaticEx m_InputShowStatic;
|
|
47 |
|
|
48 |
CMFCStatusBar m_wndStatusBar;
|
|
49 |
|
|
50 |
CMyPaneLog m_wndMyPaneLog;
|
|
51 |
// CMyDialogLog m_dlgMyLog;
|
|
52 |
|
|
53 |
// 生成的消息映射函数
|
|
54 |
protected:
|
|
55 |
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
56 |
DECLARE_MESSAGE_MAP()
|
|
57 |
|
|
58 |
public:
|
|
59 |
afx_msg void OnUploadFromPlc();
|
|
60 |
afx_msg void OnViewFunckeyBar();
|
|
61 |
afx_msg void OnUpdateViewFunckeyBar(CCmdUI *pCmdUI);
|
|
62 |
afx_msg void OnViewInputBar();
|
|
63 |
afx_msg void OnUpdateViewInputBar(CCmdUI *pCmdUI);
|
|
64 |
afx_msg void OnViewNumkeyBar();
|
|
65 |
afx_msg void OnUpdateViewNumkeyBar(CCmdUI *pCmdUI);
|
|
66 |
afx_msg void OnViewInputsegBar();
|
|
67 |
afx_msg void OnUpdateViewInputsegBar(CCmdUI *pCmdUI);
|
|
68 |
afx_msg void OnViewCommentsBar();
|
|
69 |
afx_msg void OnUpdateViewCommentsBar(CCmdUI *pCmdUI);
|
|
70 |
// afx_msg void OnMenuViewLds();
|
|
71 |
// afx_msg void OnMenuViewBld();
|
|
72 |
// afx_msg void OnMenuViewBnl();
|
|
73 |
|
|
74 |
afx_msg void OnMenuShowLog();
|
|
75 |
};
|
|
76 |
|
|
77 |
|