提交 | 用户 | age
|
4b03ae
|
1 |
|
Q |
2 |
// MainFrm.h: CMainFrame 类的接口
|
|
3 |
//
|
|
4 |
|
|
5 |
#pragma once
|
|
6 |
|
|
7 |
class CMainFrame : public CMDIFrameWnd
|
|
8 |
{
|
|
9 |
DECLARE_DYNAMIC(CMainFrame)
|
|
10 |
public:
|
|
11 |
CMainFrame() noexcept;
|
|
12 |
|
|
13 |
// 特性
|
|
14 |
public:
|
|
15 |
|
|
16 |
// 操作
|
|
17 |
public:
|
|
18 |
|
|
19 |
// 重写
|
|
20 |
public:
|
|
21 |
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
22 |
|
|
23 |
// 实现
|
|
24 |
public:
|
|
25 |
virtual ~CMainFrame();
|
|
26 |
#ifdef _DEBUG
|
|
27 |
virtual void AssertValid() const;
|
|
28 |
virtual void Dump(CDumpContext& dc) const;
|
|
29 |
#endif
|
|
30 |
|
|
31 |
protected: // 控件条嵌入成员
|
|
32 |
CToolBar m_wndToolBar;
|
|
33 |
CToolBar m_wndToolBar_Num;
|
|
34 |
|
|
35 |
CStatusBar m_wndStatusBar;
|
|
36 |
|
|
37 |
// 生成的消息映射函数
|
|
38 |
protected:
|
|
39 |
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
40 |
DECLARE_MESSAGE_MAP()
|
|
41 |
|
|
42 |
public:
|
|
43 |
afx_msg void OnUploadFromPlc();
|
|
44 |
afx_msg void OnViewFunckeyBar();
|
|
45 |
afx_msg void OnUpdateViewFunckeyBar(CCmdUI *pCmdUI);
|
|
46 |
afx_msg void OnViewInputBar();
|
|
47 |
afx_msg void OnUpdateViewInputBar(CCmdUI *pCmdUI);
|
|
48 |
afx_msg void OnViewNumkeyBar();
|
|
49 |
afx_msg void OnUpdateViewNumkeyBar(CCmdUI *pCmdUI);
|
|
50 |
afx_msg void OnViewInputsegBar();
|
|
51 |
afx_msg void OnUpdateViewInputsegBar(CCmdUI *pCmdUI);
|
|
52 |
afx_msg void OnViewCommentsBar();
|
|
53 |
afx_msg void OnUpdateViewCommentsBar(CCmdUI *pCmdUI);
|
|
54 |
};
|
|
55 |
|
|
56 |
|