ReportBasePage.cpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // ReportBasePage.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "IDE.h"
  5. #include "ReportBasePage.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CReportBasePage property page
  13. IMPLEMENT_DYNCREATE(CReportBasePage, CPropertyPage)
  14. CReportBasePage::CReportBasePage() : CPropertyPage(CReportBasePage::IDD)
  15. {
  16. //{{AFX_DATA_INIT(CReportBasePage)
  17. m_bAddAve = FALSE;
  18. m_bAddMax = FALSE;
  19. m_bAddMin = FALSE;
  20. m_nType = -1;
  21. m_bShowRowHead = FALSE;
  22. //}}AFX_DATA_INIT
  23. }
  24. CReportBasePage::~CReportBasePage()
  25. {
  26. }
  27. void CReportBasePage::DoDataExchange(CDataExchange* pDX)
  28. {
  29. CPropertyPage::DoDataExchange(pDX);
  30. //{{AFX_DATA_MAP(CReportBasePage)
  31. DDX_Check(pDX, IDC_ADDAVE, m_bAddAve);
  32. DDX_Check(pDX, IDC_ADDMAX, m_bAddMax);
  33. DDX_Check(pDX, IDC_ADDMIN, m_bAddMin);
  34. DDX_Radio(pDX, IDC_TYPE, m_nType);
  35. DDX_Check(pDX, IDC_SHOWROWHEAD, m_bShowRowHead);
  36. //}}AFX_DATA_MAP
  37. }
  38. BEGIN_MESSAGE_MAP(CReportBasePage, CPropertyPage)
  39. //{{AFX_MSG_MAP(CReportBasePage)
  40. // NOTE: the ClassWizard will add message map macros here
  41. //}}AFX_MSG_MAP
  42. END_MESSAGE_MAP()
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CReportBasePage message handlers