MainFrm.h
上传用户:jorden
上传日期:2022-08-09
资源大小:83k
文件大小:2k
源码类别:

TreeView控件

开发平台:

Visual C++

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