WalkLtDemoView.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //Download by http://www.NewXing.com
  2. // WalkLtDemoView.h : interface of the CWalkLtDemoView class
  3. //
  4. /////////////////////////////////////////////////////////////////////////////
  5. #if !defined(AFX_WALKLTDEMOVIEW_H__6B1DD540_4701_4CCC_867C_143F4DBF0EEE__INCLUDED_)
  6. #define AFX_WALKLTDEMOVIEW_H__6B1DD540_4701_4CCC_867C_143F4DBF0EEE__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. class CWalkLtDemoView : public CView
  11. {
  12. protected: // create from serialization only
  13. CWalkLtDemoView();
  14. DECLARE_DYNCREATE(CWalkLtDemoView)
  15. // Attributes
  16. public:
  17. CWalkLtDemoDoc* GetDocument();
  18. // Operations
  19. public:
  20. // Overrides
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CWalkLtDemoView)
  23. public:
  24. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. protected:
  27. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  28. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  29. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. public:
  33. virtual ~CWalkLtDemoView();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. protected:
  39. // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CWalkLtDemoView)
  42. afx_msg void OnGdiplusDemo();
  43. afx_msg void OnGdiplusCode();
  44. afx_msg void OnUpdateGdiplusCode(CCmdUI* pCmdUI);
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. #ifndef _DEBUG // debug version in WalkLtDemoView.cpp
  49. inline CWalkLtDemoDoc* CWalkLtDemoView::GetDocument()
  50. { return (CWalkLtDemoDoc*)m_pDocument; }
  51. #endif
  52. /////////////////////////////////////////////////////////////////////////////
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_WALKLTDEMOVIEW_H__6B1DD540_4701_4CCC_867C_143F4DBF0EEE__INCLUDED_)