MainFrm.h
上传用户:szcysw
上传日期:2013-03-11
资源大小:6752k
文件大小:2k
源码类别:

界面编程

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__6596A36A_E019_4F24_9BBD_D7A182CEA2FA__INCLUDED_)
  5. #define AFX_MAINFRM_H__6596A36A_E019_4F24_9BBD_D7A182CEA2FA__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. protected:
  16. CSplitterWnd m_wndSplitter;
  17. public:
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CMainFrame)
  23. public:
  24. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CMainFrame();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected:  // control bar embedded members
  35. CStatusBar  m_wndStatusBar;
  36. CToolBar    m_wndToolBar;
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CMainFrame)
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. // NOTE - the ClassWizard will add and remove member functions here.
  42. //    DO NOT EDIT what you see in these blocks of generated code!
  43. //}}AFX_MSG
  44. DECLARE_MESSAGE_MAP()
  45. };
  46. /////////////////////////////////////////////////////////////////////////////
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_MAINFRM_H__6596A36A_E019_4F24_9BBD_D7A182CEA2FA__INCLUDED_)