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