QuakeGod
2021-11-30 0ed43835e6bf40ba4d31fb6b8dc0d8400162b90a
提交 | 用户 | age
4b03ae 1 
Q 2 // ChildFrm.h: CChildFrame 类的接口
3 //
4
5 #pragma once
0ed438 6 #include "../MyLib/StaticEx.h"
Q 7 class CChildFrame : public CMDIChildWndEx
4b03ae 8 {
Q 9     DECLARE_DYNCREATE(CChildFrame)
10 public:
11     CChildFrame() noexcept;
12
13 // 特性
14 protected:
15     CSplitterWnd m_wndSplitter;
0ed438 16     CMFCStatusBar  m_wndStatusBar;
Q 17     CToolBar 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;
24
4b03ae 25 public:
0ed438 26     CMFCStatusBar *GetStatusBar()
4b03ae 27     {
Q 28         return &m_wndStatusBar;
29     }
30 // 操作
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()
47 public:
48     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
49 };