home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 May / CMCD0505.ISO / Software / Shareware / Comunicatii / netmansuite / setup.exe / Samples / VisualC / PropsDlg.cpp < prev    next >
C/C++ Source or Header  |  2001-05-16  |  1KB  |  47 lines

  1. // PropsDlg.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "Plugin.h"
  6. #include "PropsDlg.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. // CPropsDlg dialog
  16.  
  17.  
  18. CPropsDlg::CPropsDlg(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CPropsDlg::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CPropsDlg)
  22.     m_iPropsValue = 0;
  23.     m_iPrefsValue = 0;
  24.     //}}AFX_DATA_INIT
  25. }
  26.  
  27.  
  28. void CPropsDlg::DoDataExchange(CDataExchange* pDX)
  29. {
  30.     CDialog::DoDataExchange(pDX);
  31.     //{{AFX_DATA_MAP(CPropsDlg)
  32.     DDX_Text(pDX, IDC_PROPS_VALUE, m_iPropsValue);
  33.     DDV_MinMaxInt(pDX, m_iPropsValue, -100, 100);
  34.     DDX_Text(pDX, IDC_PREFS_VALUE, m_iPrefsValue);
  35.     //}}AFX_DATA_MAP
  36. }
  37.  
  38.  
  39. BEGIN_MESSAGE_MAP(CPropsDlg, CDialog)
  40.     //{{AFX_MSG_MAP(CPropsDlg)
  41.         // NOTE: the ClassWizard will add message map macros here
  42.     //}}AFX_MSG_MAP
  43. END_MESSAGE_MAP()
  44.  
  45. /////////////////////////////////////////////////////////////////////////////
  46. // CPropsDlg message handlers
  47.