提交 | 用户 | age
4b03ae 1 
Q 2 // ChildFrm.h: CChildFrame 类的接口
3 //
4
5 #pragma once
0ed438 6 #include "../MyLib/StaticEx.h"
b978bf 7 class CChildFrame : public CMDIChildWnd
4b03ae 8 {
Q 9     DECLARE_DYNCREATE(CChildFrame)
10 public:
11     CChildFrame() noexcept;
12
13 // 特性
14 protected:
15     CSplitterWnd m_wndSplitter;
b978bf 16     CStatusBar  m_wndStatusBar;
0ed438 17     CToolBar m_wndToolBar_InfoShow;
Q 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:
b978bf 26     CStatusBar *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 };