MainFrm.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__BFFBC8E2_FDE4_4F98_B05C_9EE97F7A4594__INCLUDED_)
  5. #define AFX_MAINFRM_H__BFFBC8E2_FDE4_4F98_B05C_9EE97F7A4594__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "ResizableMDIFrame.h"
  10. class CMainFrame : public CResizableMDIFrame
  11. {
  12. DECLARE_DYNAMIC(CMainFrame)
  13. public:
  14. CMainFrame();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CMainFrame)
  22. public:
  23. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24. virtual void ActivateFrame(int nCmdShow = -1);
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. public:
  28. virtual ~CMainFrame();
  29. #ifdef _DEBUG
  30. virtual void AssertValid() const;
  31. virtual void Dump(CDumpContext& dc) const;
  32. #endif
  33. protected: // control bar embedded members
  34. CStatusBar m_wndStatusBar;
  35. // Generated message map functions
  36. protected:
  37. //{{AFX_MSG(CMainFrame)
  38. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. /////////////////////////////////////////////////////////////////////////////
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_MAINFRM_H__BFFBC8E2_FDE4_4F98_B05C_9EE97F7A4594__INCLUDED_)