ReportColPage.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #if !defined(AFX_REPORTCOLPAGE_H__8EE910FA_972A_45CB_8AD5_EFBEA17D303E__INCLUDED_)
  2. #define AFX_REPORTCOLPAGE_H__8EE910FA_972A_45CB_8AD5_EFBEA17D303E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ReportColPage.h : header file
  7. //
  8. class CColPro: public CObject
  9. {
  10. public:
  11. DECLARE_SERIAL(CColPro);
  12. CColPro();
  13. public:
  14. CString m_strTitle;
  15. CString m_strVar;
  16. CString m_strFormat;
  17. public:
  18. ~CColPro();
  19. CColPro& operator=(CColPro& Obj);
  20. virtual CColPro* Clone(void);
  21. virtual void Serialize(CArchive& ar);
  22. };
  23. typedef CTypedPtrList<CObList, CColPro*> CColProList;
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CReportColPage dialog
  26. class CReportColPage : public CPropertyPage
  27. {
  28. DECLARE_DYNCREATE(CReportColPage)
  29. // Construction
  30. public:
  31. void FreshList();
  32. CReportColPage();
  33. ~CReportColPage();
  34. CColProList m_colList;
  35. void SetVal(int row, int col, CString str);
  36. // Dialog Data
  37. //{{AFX_DATA(CReportColPage)
  38. enum { IDD = IDD_REPORTCOLPAGE };
  39. CString m_strTitle;
  40. CString m_strVar;
  41. CString m_strFormat;
  42. //}}AFX_DATA
  43. // Overrides
  44. // ClassWizard generate virtual function overrides
  45. //{{AFX_VIRTUAL(CReportColPage)
  46. protected:
  47. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  48. //}}AFX_VIRTUAL
  49. // Implementation
  50. protected:
  51. // Generated message map functions
  52. //{{AFX_MSG(CReportColPage)
  53. afx_msg void OnAdd();
  54. afx_msg void OnRevise();
  55. afx_msg void OnDel();
  56. afx_msg void OnUp();
  57. afx_msg void OnDown();
  58. virtual BOOL OnInitDialog();
  59. afx_msg void OnClickCollist();
  60. afx_msg void OnSelvar();
  61. DECLARE_EVENTSINK_MAP()
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_REPORTCOLPAGE_H__8EE910FA_972A_45CB_8AD5_EFBEA17D303E__INCLUDED_)