MainFrm.h 590 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // MainFrm.h : CMainFrame 类的接口
  2. //
  3. #pragma once
  4. class CMainFrame : public CMDIFrameWnd
  5. {
  6. DECLARE_DYNAMIC(CMainFrame)
  7. public:
  8. CMainFrame();
  9. // 属性
  10. public:
  11. // 操作
  12. public:
  13. // 重写
  14. public:
  15. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  16. // 实现
  17. public:
  18. virtual ~CMainFrame();
  19. #ifdef _DEBUG
  20. virtual void AssertValid() const;
  21. virtual void Dump(CDumpContext& dc) const;
  22. #endif
  23. protected: // 控件条嵌入成员
  24. CStatusBar m_wndStatusBar;
  25. CToolBar m_wndToolBar;
  26. // 生成的消息映射函数
  27. protected:
  28. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  29. DECLARE_MESSAGE_MAP()
  30. };