QuakeGod
2023-09-12 78e91efc666606328e3fc63fbd54eb2da4442799
提交 | 用户 | age
4b03ae 1 
Q 2 // ChildFrm.h: CChildFrame 类的接口
3 //
4
5 #pragma once
418cb3 6 #include "../MyLib/StaticEx.h"
0ed438 7 class CChildFrame : public CMDIChildWndEx
4b03ae 8 {
Q 9     DECLARE_DYNCREATE(CChildFrame)
10 public:
11     CChildFrame() noexcept;
12
13 // 特性
14 protected:
0ed438 15     CSplitterWndEx m_wndSplitter;
418cb3 16     CMFCStatusBar  m_wndStatusBar;
Q 17     CMFCToolBar m_wndToolBar_InfoShow;
18     CStaticEx    m_StaticShowMachine;
19     CStaticEx    m_StaticShowProgPos;
20     CStaticEx    m_StaticShowOnline;
21     CStaticEx    m_StaticShowPLC;
22     CStaticEx    m_StaticShowMonitor;
23     CStaticEx    m_StaticShowAddress;
0ed438 24
418cb3 25 public:
Q 26     CMFCStatusBar *GetStatusBar()
27     {
28         return &m_wndStatusBar;
29     }
4b03ae 30 // 操作
Q 31 public:
32
33 // 重写
34     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
35
36 // 实现
37 public:
38     virtual ~CChildFrame();
39 #ifdef _DEBUG
40     virtual void AssertValid() const;
41     virtual void Dump(CDumpContext& dc) const;
42 #endif
43
44 // 生成的消息映射函数
45 protected:
46     DECLARE_MESSAGE_MAP()
418cb3 47 public:
Q 48     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
4b03ae 49 };