// ChildFrm.h: CChildFrame 类的接口 // #pragma once class CChildFrame : public CMDIChildWnd { DECLARE_DYNCREATE(CChildFrame) public: CChildFrame() noexcept; // 特性 protected: CSplitterWnd m_wndSplitter; CStatusBar m_wndStatusBar; public: CStatusBar *GetStatusBar() { return &m_wndStatusBar; } // 操作 public: // 重写 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); // 实现 public: virtual ~CChildFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // 生成的消息映射函数 protected: DECLARE_MESSAGE_MAP() public: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); };