Day10View.h
上传用户:z_mail1980
上传日期:2007-06-01
资源大小:647k
文件大小:2k
源码类别:

SNMP编程

开发平台:

Visual C++

  1. // Day10View.h : interface of the CDay10View class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DAY10VIEW_H__51BCE4BA_3EEE_4D5A_B8B7_E7238A995503__INCLUDED_)
  5. #define AFX_DAY10VIEW_H__51BCE4BA_3EEE_4D5A_B8B7_E7238A995503__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CDay10View : public CView
  10. {
  11. protected: // create from serialization only
  12. CDay10View();
  13. DECLARE_DYNCREATE(CDay10View)
  14. // Attributes
  15. public:
  16. CDay10Doc* GetDocument();
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CDay10View)
  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 ~CDay10View();
  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(CDay10View)
  41. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  42. afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
  43. afx_msg void OnMouseMove(UINT nFlags, CPoint point);
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. private:
  47. CPoint m_ptPrevP;
  48. };
  49. #ifndef _DEBUG  // debug version in Day10View.cpp
  50. inline CDay10Doc* CDay10View::GetDocument()
  51.    { return (CDay10Doc*)m_pDocument; }
  52. #endif
  53. /////////////////////////////////////////////////////////////////////////////
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_DAY10VIEW_H__51BCE4BA_3EEE_4D5A_B8B7_E7238A995503__INCLUDED_)