DataPage.cpp 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // DataPage.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "IDE.h"
  5. #include "DataPage.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CDataPage property page
  13. IMPLEMENT_DYNCREATE(CDataPage, CPropertyPage)
  14. CDataPage::CDataPage() : CPropertyPage(CDataPage::IDD)
  15. {
  16. //{{AFX_DATA_INIT(CDataPage)
  17. m_nFormat = -1;
  18. //}}AFX_DATA_INIT
  19. }
  20. CDataPage::~CDataPage()
  21. {
  22. }
  23. void CDataPage::DoDataExchange(CDataExchange* pDX)
  24. {
  25. CPropertyPage::DoDataExchange(pDX);
  26. //{{AFX_DATA_MAP(CDataPage)
  27. DDX_Radio(pDX, IDC_FORMAT, m_nFormat);
  28. //}}AFX_DATA_MAP
  29. }
  30. BEGIN_MESSAGE_MAP(CDataPage, CPropertyPage)
  31. //{{AFX_MSG_MAP(CDataPage)
  32. // NOTE: the ClassWizard will add message map macros here
  33. //}}AFX_MSG_MAP
  34. END_MESSAGE_MAP()
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CDataPage message handlers