MainFrm.h
上传用户:lejushen
上传日期:2007-01-10
资源大小:183k
文件大小:2k
源码类别:

菜单

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__4A6A09F5_79F8_409C_8738_88C04693F3EE__INCLUDED_)
  5. #define AFX_MAINFRM_H__4A6A09F5_79F8_409C_8738_88C04693F3EE__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. CToolBar    m_wndToolBar;
  33. // Generated message map functions
  34. protected:
  35. //{{AFX_MSG(CMainFrame)
  36. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  37. // NOTE - the ClassWizard will add and remove member functions here.
  38. //    DO NOT EDIT what you see in these blocks of generated code!
  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__4A6A09F5_79F8_409C_8738_88C04693F3EE__INCLUDED_)