home *** CD-ROM | disk | FTP | other *** search
/ ftp.funduc.com / 2014.08.ftp.funduc.com.tar / ftp.funduc.com / fshedcode102502.zip / OptionsDlg.cpp < prev    next >
C/C++ Source or Header  |  2001-11-06  |  2KB  |  99 lines

  1. // OptionsDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "fshed.h"
  6. #include "OptionsDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CDispPage property page
  16.  
  17. IMPLEMENT_DYNCREATE(CDispPage, CPropertyPage)
  18.  
  19. CDispPage::CDispPage() : CPropertyPage(CDispPage::IDD)
  20. {
  21.     //{{AFX_DATA_INIT(CDispPage)
  22.     m_nAnsi = 0;
  23.     m_nFontSize = 0;
  24.     m_nIntel = 0;
  25.     m_nSigned = 0;
  26.     //}}AFX_DATA_INIT
  27. }
  28.  
  29. CDispPage::~CDispPage()
  30. {
  31. }
  32.  
  33. void CDispPage::DoDataExchange(CDataExchange* pDX)
  34. {
  35.     CPropertyPage::DoDataExchange(pDX);
  36.     //{{AFX_DATA_MAP(CDispPage)
  37.     DDX_Radio(pDX, IDC_ANSI_RB, m_nAnsi);
  38.     DDX_Text(pDX, IDC_FONT_SIZE_ED, m_nFontSize);
  39.     DDV_MinMaxInt(pDX, m_nFontSize, 4, 100);
  40.     DDX_Radio(pDX, IDC_INTEL_RB, m_nIntel);
  41.     DDX_Radio(pDX, IDC_SIGNED_RB, m_nSigned);
  42.     //}}AFX_DATA_MAP
  43. }
  44.  
  45.  
  46. BEGIN_MESSAGE_MAP(CDispPage, CPropertyPage)
  47.     //{{AFX_MSG_MAP(CDispPage)
  48.         // NOTE: the ClassWizard will add message map macros here
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CDispPage message handlers
  54. /////////////////////////////////////////////////////////////////////////////
  55. // CGenPage property page
  56.  
  57. IMPLEMENT_DYNCREATE(CGenPage, CPropertyPage)
  58.  
  59. CGenPage::CGenPage() : CPropertyPage(CGenPage::IDD)
  60. {
  61.     //{{AFX_DATA_INIT(CGenPage)
  62.     m_bAdjustBytes = FALSE;
  63.     m_strIntBrowser = _T("");
  64.     m_nNumBytes = 0;
  65.     m_nOffsetLen = 0;
  66.     m_bSetRead = FALSE;
  67.     m_strTextEditor = _T("");
  68.     //}}AFX_DATA_INIT
  69. }
  70.  
  71. CGenPage::~CGenPage()
  72. {
  73. }
  74.  
  75. void CGenPage::DoDataExchange(CDataExchange* pDX)
  76. {
  77.     CPropertyPage::DoDataExchange(pDX);
  78.     //{{AFX_DATA_MAP(CGenPage)
  79.     DDX_Check(pDX, IDC_ADJ_BYTES_CHK, m_bAdjustBytes);
  80.     DDX_Text(pDX, IDC_BROWSER_ED, m_strIntBrowser);
  81.     DDX_Text(pDX, IDC_NUM_BYTES_ED, m_nNumBytes);
  82.     DDV_MinMaxInt(pDX, m_nNumBytes, 0, 100);
  83.     DDX_Text(pDX, IDC_OFFSET_LEN_ED, m_nOffsetLen);
  84.     DDV_MinMaxInt(pDX, m_nOffsetLen, 1, 9);
  85.     DDX_Check(pDX, IDC_SET_READ_ONLY_CHK, m_bSetRead);
  86.     DDX_Text(pDX, IDC_TEXT_ED, m_strTextEditor);
  87.     //}}AFX_DATA_MAP
  88. }
  89.  
  90.  
  91. BEGIN_MESSAGE_MAP(CGenPage, CPropertyPage)
  92.     //{{AFX_MSG_MAP(CGenPage)
  93.         // NOTE: the ClassWizard will add message map macros here
  94.     //}}AFX_MSG_MAP
  95. END_MESSAGE_MAP()
  96.  
  97. /////////////////////////////////////////////////////////////////////////////
  98. // CGenPage message handlers
  99.