Exam8_4View.h
上传用户:tonybian
上传日期:2007-01-18
资源大小:328k
文件大小:2k
源码类别:

图形图象

开发平台:

WINDOWS

  1. // Exam8_4View.h : interface of the CExam8_4View class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_Exam8_4VIEW_H__AB5DD531_05EC_4A8F_A5A8_2A77DE851900__INCLUDED_)
  5. #define AFX_Exam8_4VIEW_H__AB5DD531_05EC_4A8F_A5A8_2A77DE851900__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CExam8_4View : public CView
  10. {
  11. public:
  12. int m_nSampleNumber;
  13. CRect m_DestinationRect;
  14. double m_dDegrees;
  15. CRect m_recClient;
  16. bool m_bShow[20];
  17. CRect m_DisplayRect[20];
  18. protected: // create from serialization only
  19. CExam8_4View();
  20. DECLARE_DYNCREATE(CExam8_4View)
  21. // Attributes
  22. public:
  23. CExam8_4Doc* GetDocument();
  24. // Operations
  25. public:
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CExam8_4View)
  29. public:
  30. virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  31. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32. virtual void OnInitialUpdate();
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. public:
  36. virtual ~CExam8_4View();
  37. #ifdef _DEBUG
  38. virtual void AssertValid() const;
  39. virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41. protected:
  42. // Generated message map functions
  43. protected:
  44. //{{AFX_MSG(CExam8_4View)
  45. afx_msg void OnTimer(UINT nIDEvent);
  46. afx_msg void OnSample01();
  47. afx_msg void OnSample02();
  48. afx_msg void OnSample03();
  49. afx_msg void OnSample04();
  50. afx_msg void OnSample05();
  51. afx_msg void OnSample06();
  52. afx_msg void OnSample07();
  53. afx_msg void OnSample08();
  54. afx_msg void OnSample09();
  55. afx_msg void OnSample11();
  56. afx_msg void OnSample12();
  57. afx_msg void OnSample13();
  58. afx_msg void OnSample10();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. #ifndef _DEBUG  // debug version in Exam8_4View.cpp
  63. inline CExam8_4Doc* CExam8_4View::GetDocument()
  64.    { return (CExam8_4Doc*)m_pDocument; }
  65. #endif
  66. /////////////////////////////////////////////////////////////////////////////
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  69. #endif // !defined(AFX_Exam8_4VIEW_H__AB5DD531_05EC_4A8F_A5A8_2A77DE851900__INCLUDED_)