Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.1 KiB

  1. // RateDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "t3test.h"
  5. #include "rate.h"
  6. #ifdef _DEBUG
  7. #ifndef _WIN64 // mfc 4.2's heap debugging features generate warnings on win64
  8. #define new DEBUG_NEW
  9. #endif
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CRateDlg dialog
  15. CRateDlg::CRateDlg(CWnd* pParent /*=NULL*/)
  16. : CDialog(CRateDlg::IDD, pParent)
  17. {
  18. //{{AFX_DATA_INIT(CRateDlg)
  19. m_dwMinRate = 0;
  20. m_dwMaxRate = 0;
  21. //}}AFX_DATA_INIT
  22. }
  23. void CRateDlg::DoDataExchange(CDataExchange* pDX)
  24. {
  25. CDialog::DoDataExchange(pDX);
  26. //{{AFX_DATA_MAP(CRateDlg)
  27. DDX_Text(pDX, IDC_MINRATE, m_dwMinRate);
  28. DDX_Text(pDX, IDC_MAXRATE, m_dwMaxRate);
  29. //}}AFX_DATA_MAP
  30. }
  31. BEGIN_MESSAGE_MAP(CRateDlg, CDialog)
  32. //{{AFX_MSG_MAP(CRateDlg)
  33. // NOTE: the ClassWizard will add message map macros here
  34. //}}AFX_MSG_MAP
  35. END_MESSAGE_MAP()
  36. /////////////////////////////////////////////////////////////////////////////
  37. // CRateDlg message handlers