Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.8 KiB

  1. // FileSpyView.h : interface of the CFileSpyView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_FILESPYVIEW_H__D19318D3_9763_4FDC_93B8_535C29C978B1__INCLUDED_)
  5. #define AFX_FILESPYVIEW_H__D19318D3_9763_4FDC_93B8_535C29C978B1__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CFileSpyView : public CListView
  10. {
  11. protected: // create from serialization only
  12. CFileSpyView();
  13. DECLARE_DYNCREATE(CFileSpyView)
  14. // Attributes
  15. public:
  16. CFileSpyDoc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CFileSpyView)
  22. public:
  23. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  24. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25. protected:
  26. virtual void OnInitialUpdate(); // called first time after construct
  27. virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. public:
  31. virtual ~CFileSpyView();
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. protected:
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CFileSpyView)
  40. afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
  41. //}}AFX_MSG
  42. afx_msg void OnStyleChanged(int nStyleType, LPSTYLESTRUCT lpStyleStruct);
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. #ifndef _DEBUG // debug version in FileSpyView.cpp
  46. inline CFileSpyDoc* CFileSpyView::GetDocument()
  47. { return (CFileSpyDoc*)m_pDocument; }
  48. #endif
  49. /////////////////////////////////////////////////////////////////////////////
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_FILESPYVIEW_H__D19318D3_9763_4FDC_93B8_535C29C978B1__INCLUDED_)