Source code of Windows XP (NT5)
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.

44 lines
1013 B

  1. // CounterValDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "ShowPerfLib.h"
  5. #include "CounterValDlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CCounterValDlg dialog
  13. CCounterValDlg::CCounterValDlg(CWnd* pParent /*=NULL*/)
  14. : CDialog(CCounterValDlg::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CCounterValDlg)
  17. m_lCounter = 0;
  18. //}}AFX_DATA_INIT
  19. }
  20. void CCounterValDlg::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(CCounterValDlg)
  24. DDX_Text(pDX, IDC_CTR_VAL, m_lCounter);
  25. DDV_MinMaxLong(pDX, m_lCounter, 0, 9999999);
  26. //}}AFX_DATA_MAP
  27. }
  28. BEGIN_MESSAGE_MAP(CCounterValDlg, CDialog)
  29. //{{AFX_MSG_MAP(CCounterValDlg)
  30. // NOTE: the ClassWizard will add message map macros here
  31. //}}AFX_MSG_MAP
  32. END_MESSAGE_MAP()
  33. /////////////////////////////////////////////////////////////////////////////
  34. // CCounterValDlg message handlers