MainFrm.h
上传用户:xhri001
上传日期:2022-07-04
资源大小:99k
文件大小:2k
源码类别:

界面编程

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__AAC0C53A_DF91_4037_B910_15A5B4981DF9__INCLUDED_)
  5. #define AFX_MAINFRM_H__AAC0C53A_DF91_4037_B910_15A5B4981DF9__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CMainFrame : public CFrameWnd
  10. {
  11. protected: // create from serialization only
  12. CMainFrame();
  13. DECLARE_DYNCREATE(CMainFrame)
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CMainFrame)
  21. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  22. //}}AFX_VIRTUAL
  23. // Implementation
  24. public:
  25. virtual ~CMainFrame();
  26. #ifdef _DEBUG
  27. virtual void AssertValid() const;
  28. virtual void Dump(CDumpContext& dc) const;
  29. #endif
  30. protected:  // control bar embedded members
  31. CStatusBar  m_wndStatusBar;
  32. // Generated message map functions
  33. protected:
  34. //{{AFX_MSG(CMainFrame)
  35. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  36. // NOTE - the ClassWizard will add and remove member functions here.
  37. //    DO NOT EDIT what you see in these blocks of generated code!
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_MAINFRM_H__AAC0C53A_DF91_4037_B910_15A5B4981DF9__INCLUDED_)