WinExplorerView.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. // WinExplorerView.h : interface of the CWinExplorerView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_WINEXPLORERVIEW_H__EC639D51_282D_4982_845E_3EACE9AC01FB__INCLUDED_)
  5. #define AFX_WINEXPLORERVIEW_H__EC639D51_282D_4982_845E_3EACE9AC01FB__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class CWinExplorerView : public CView
  10. {
  11. protected: // create from serialization only
  12. CWinExplorerView();
  13. DECLARE_DYNCREATE(CWinExplorerView)
  14. // Attributes
  15. public:
  16. CWinExplorerDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CWinExplorerView)
  22. public:
  23. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  27. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  28. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. public:
  32. virtual ~CWinExplorerView();
  33. #ifdef _DEBUG
  34. virtual void AssertValid() const;
  35. virtual void Dump(CDumpContext& dc) const;
  36. #endif
  37. protected:
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CWinExplorerView)
  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. #ifndef _DEBUG  // debug version in WinExplorerView.cpp
  47. inline CWinExplorerDoc* CWinExplorerView::GetDocument()
  48.    { return (CWinExplorerDoc*)m_pDocument; }
  49. #endif
  50. /////////////////////////////////////////////////////////////////////////////
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_WINEXPLORERVIEW_H__EC639D51_282D_4982_845E_3EACE9AC01FB__INCLUDED_)