|
// 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);
|
};
|