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.

82 lines
2.0 KiB

  1. // RecycleOptPage.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "cnfgprts.h"
  5. #include "RecycleOptPage.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CRecycleOptPage property page
  13. IMPLEMENT_DYNCREATE(CRecycleOptPage, CPropertyPage)
  14. CRecycleOptPage::CRecycleOptPage() : CPropertyPage(CRecycleOptPage::IDD)
  15. {
  16. //{{AFX_DATA_INIT(CRecycleOptPage)
  17. m_ReqLimit = 0;
  18. m_TimeSpan = 0;
  19. //}}AFX_DATA_INIT
  20. }
  21. CRecycleOptPage::~CRecycleOptPage()
  22. {
  23. }
  24. void CRecycleOptPage::DoDataExchange(CDataExchange* pDX)
  25. {
  26. CPropertyPage::DoDataExchange(pDX);
  27. //{{AFX_DATA_MAP(CRecycleOptPage)
  28. DDX_Control(pDX, IDC_RECYCLE_TIMESPAN, m_btnTimespan);
  29. DDX_Control(pDX, IDC_RECYCLE_TIMER, m_btnTimer);
  30. DDX_Control(pDX, IDC_RECYCLE_REQUESTS, m_btnResuests);
  31. DDX_Control(pDX, IDC_ADD_TIME, m_btnAddTime);
  32. DDX_Control(pDX, IDC_REQUEST_LIMIT, m_editReqLimit);
  33. DDX_Control(pDX, IDC_TIMESPAN, m_editTimeSpan);
  34. DDX_Text(pDX, IDC_REQUEST_LIMIT, m_ReqLimit);
  35. DDV_MinMaxUInt(pDX, m_ReqLimit, 1, 10000000);
  36. DDX_Text(pDX, IDC_TIMESPAN, m_TimeSpan);
  37. DDV_MinMaxUInt(pDX, m_TimeSpan, 1, 10000);
  38. //}}AFX_DATA_MAP
  39. }
  40. BEGIN_MESSAGE_MAP(CRecycleOptPage, CPropertyPage)
  41. //{{AFX_MSG_MAP(CRecycleOptPage)
  42. ON_BN_CLICKED(IDC_ADD_TIME, OnAddTime)
  43. ON_BN_CLICKED(IDC_RECYCLE_REQUESTS, OnRecycleRequests)
  44. ON_BN_CLICKED(IDC_RECYCLE_TIMESPAN, OnRecycleTimespan)
  45. ON_BN_CLICKED(IDC_RECYCLE_TIMER, OnRecycleTimer)
  46. ON_WM_KEYDOWN()
  47. //}}AFX_MSG_MAP
  48. END_MESSAGE_MAP()
  49. /////////////////////////////////////////////////////////////////////////////
  50. // CRecycleOptPage message handlers
  51. void CRecycleOptPage::OnAddTime()
  52. {
  53. }
  54. void CRecycleOptPage::OnRecycleRequests()
  55. {
  56. }
  57. void CRecycleOptPage::OnRecycleTimespan()
  58. {
  59. }
  60. void CRecycleOptPage::OnRecycleTimer()
  61. {
  62. }
  63. void CRecycleOptPage::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
  64. {
  65. DebugBreak();
  66. CPropertyPage::OnKeyDown(nChar, nRepCnt, nFlags);
  67. }