MainFrm.h 702 B

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