SaveReadView.h
上传用户:wmflame
上传日期:2010-02-25
资源大小:39k
文件大小:2k
源码类别:

文件操作

开发平台:

Visual C++

  1. // SaveReadView.h : interface of the CSaveReadView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_SAVEREADVIEW_H__70B4B530_1DEE_11D4_B0E6_00001A012804__INCLUDED_)
  5. #define AFX_SAVEREADVIEW_H__70B4B530_1DEE_11D4_B0E6_00001A012804__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CSaveReadView : public CFormView
  10. {
  11. protected: // create from serialization only
  12. CSaveReadView();
  13. DECLARE_DYNCREATE(CSaveReadView)
  14. public:
  15. //{{AFX_DATA(CSaveReadView)
  16. enum { IDD = IDD_SAVEREAD_FORM };
  17. CComboBox m_subject;
  18. float m_score;
  19. CString m_name;
  20. float m_total;
  21. //}}AFX_DATA
  22. // Attributes
  23. public:
  24. CSaveReadDoc* GetDocument();
  25. // Operations
  26. public:
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CSaveReadView)
  30. public:
  31. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34. virtual void OnInitialUpdate(); // called first time after construct
  35. virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  36. virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  37. virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  38. virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. public:
  42. virtual ~CSaveReadView();
  43. #ifdef _DEBUG
  44. virtual void AssertValid() const;
  45. virtual void Dump(CDumpContext& dc) const;
  46. #endif
  47. protected:
  48. // Generated message map functions
  49. protected:
  50. //{{AFX_MSG(CSaveReadView)
  51. afx_msg void OnChangeName();
  52. afx_msg void OnChangeScore();
  53. afx_msg void OnSelchangeSubject();
  54. afx_msg void OnText();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. #ifndef _DEBUG  // debug version in SaveReadView.cpp
  59. inline CSaveReadDoc* CSaveReadView::GetDocument()
  60.    { return (CSaveReadDoc*)m_pDocument; }
  61. #endif
  62. /////////////////////////////////////////////////////////////////////////////
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_SAVEREADVIEW_H__70B4B530_1DEE_11D4_B0E6_00001A012804__INCLUDED_)