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