MainFrm.h 668 B

1234567891011121314151617181920212223242526272829303132333435
  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. #pragma once
  4. class CMainFrame : public CMDIFrameWnd
  5. {
  6. DECLARE_DYNAMIC(CMainFrame)
  7. public:
  8. CMainFrame();
  9. // Attributes
  10. public:
  11. // Operations
  12. public:
  13. // Overrides
  14. public:
  15. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  16. // Implementation
  17. public:
  18. virtual ~CMainFrame();
  19. #ifdef _DEBUG
  20. virtual void AssertValid() const;
  21. virtual void Dump(CDumpContext& dc) const;
  22. #endif
  23. protected: // control bar embedded members
  24. CStatusBar m_wndStatusBar;
  25. CToolBar m_wndToolBar;
  26. // Generated message map functions
  27. protected:
  28. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  29. DECLARE_MESSAGE_MAP()
  30. };