myview.h
上传用户:xakehao
上传日期:2013-08-28
资源大小:100k
文件大小:2k
源码类别:

CA认证

开发平台:

Visual C++

  1. #if !defined(AFX_MYVIEW_H__02B3A010_9679_46B0_90B1_B3160C8DFBD2__INCLUDED_)
  2. #define AFX_MYVIEW_H__02B3A010_9679_46B0_90B1_B3160C8DFBD2__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // myview.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // myview view
  10. class myview : public CScrollView
  11. {
  12. protected:
  13. myview();           // protected constructor used by dynamic creation
  14. DECLARE_DYNCREATE(myview)
  15. // Attributes
  16. public:
  17. CMyCapDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(myview)
  23. protected:
  24. virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  25. virtual void OnInitialUpdate();     // first time after construct
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. protected:
  29. virtual ~myview();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. // Generated message map functions
  35. //{{AFX_MSG(myview)
  36. // NOTE - the ClassWizard will add and remove member functions here.
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. #ifndef _DEBUG  // debug version in netinterfaceView.cpp
  41. inline CMyCapDoc* myview::GetDocument()
  42.    { return (CMyCapDoc*)m_pDocument; }
  43. #endif
  44. /////////////////////////////////////////////////////////////////////////////
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_MYVIEW_H__02B3A010_9679_46B0_90B1_B3160C8DFBD2__INCLUDED_)