1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- #if !defined(AFX_REPORTCOLPAGE_H__8EE910FA_972A_45CB_8AD5_EFBEA17D303E__INCLUDED_)
- #define AFX_REPORTCOLPAGE_H__8EE910FA_972A_45CB_8AD5_EFBEA17D303E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ReportColPage.h : header file
- //
- class CColPro: public CObject
- {
- public:
- DECLARE_SERIAL(CColPro);
- CColPro();
- public:
- CString m_strTitle;
- CString m_strVar;
- CString m_strFormat;
- public:
- ~CColPro();
- CColPro& operator=(CColPro& Obj);
- virtual CColPro* Clone(void);
- virtual void Serialize(CArchive& ar);
- };
- typedef CTypedPtrList<CObList, CColPro*> CColProList;
- /////////////////////////////////////////////////////////////////////////////
- // CReportColPage dialog
- class CReportColPage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CReportColPage)
- // Construction
- public:
- void FreshList();
- CReportColPage();
- ~CReportColPage();
- CColProList m_colList;
- void SetVal(int row, int col, CString str);
- // Dialog Data
- //{{AFX_DATA(CReportColPage)
- enum { IDD = IDD_REPORTCOLPAGE };
- CString m_strTitle;
- CString m_strVar;
- CString m_strFormat;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CReportColPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CReportColPage)
- afx_msg void OnAdd();
- afx_msg void OnRevise();
- afx_msg void OnDel();
- afx_msg void OnUp();
- afx_msg void OnDown();
- virtual BOOL OnInitDialog();
- afx_msg void OnClickCollist();
- afx_msg void OnSelvar();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_REPORTCOLPAGE_H__8EE910FA_972A_45CB_8AD5_EFBEA17D303E__INCLUDED_)
|