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.

85 lines
2.4 KiB

  1. #if !defined(AFX_ACTIONSCHEDULEPAGE_H__7C918D5D_6F84_11D3_BE5C_0000F87A3912__INCLUDED_)
  2. #define AFX_ACTIONSCHEDULEPAGE_H__7C918D5D_6F84_11D3_BE5C_0000F87A3912__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ActionSchedulePage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CActionSchedulePage dialog
  11. class CActionSchedulePage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CActionSchedulePage)
  14. // Construction
  15. public:
  16. CActionSchedulePage();
  17. ~CActionSchedulePage();
  18. // Dialog Data
  19. //{{AFX_DATA(CActionSchedulePage)
  20. enum { IDD = IDD_ACTION_SCHEDULE };
  21. CDateTimeCtrl m_StartTimeCtrl2;
  22. CDateTimeCtrl m_StartTimeCtrl1;
  23. CDateTimeCtrl m_EndTimeCtrl2;
  24. CDateTimeCtrl m_EndTimeCtrl1;
  25. BOOL m_bFriday;
  26. BOOL m_bMonday;
  27. BOOL m_bSaturday;
  28. BOOL m_bSunday;
  29. BOOL m_bThursday;
  30. BOOL m_bTuesday;
  31. BOOL m_bWednesday;
  32. CTime m_EndTime_1;
  33. CTime m_EndTime_2;
  34. CTime m_StartTime_1;
  35. CTime m_StartTime_2;
  36. int m_iDataCollection;
  37. //}}AFX_DATA
  38. int m_iActiveDays;
  39. // Overrides
  40. // ClassWizard generate virtual function overrides
  41. //{{AFX_VIRTUAL(CActionSchedulePage)
  42. public:
  43. virtual BOOL OnApply();
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CActionSchedulePage)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnCheckFriday();
  53. afx_msg void OnCheckMonday();
  54. afx_msg void OnCheckSaturday();
  55. afx_msg void OnCheckSunday();
  56. afx_msg void OnCheckThursday();
  57. afx_msg void OnCheckTuesday();
  58. afx_msg void OnCheckWednesday();
  59. afx_msg void OnDatetimechangeDatetimepickerEnd1(NMHDR* pNMHDR, LRESULT* pResult);
  60. afx_msg void OnDatetimechangeDatetimepickerEnd2(NMHDR* pNMHDR, LRESULT* pResult);
  61. afx_msg void OnDatetimechangeDatetimepickerOnce(NMHDR* pNMHDR, LRESULT* pResult);
  62. afx_msg void OnDatetimechangeDatetimepickerStart1(NMHDR* pNMHDR, LRESULT* pResult);
  63. afx_msg void OnDatetimechangeDatetimepickerStart2(NMHDR* pNMHDR, LRESULT* pResult);
  64. afx_msg void OnRadioAllDay();
  65. afx_msg void OnRadioAllDayExcept();
  66. afx_msg void OnRadioOnceDaily();
  67. afx_msg void OnRadioOnlyFrom();
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  73. #endif // !defined(AFX_ACTIONSCHEDULEPAGE_H__7C918D5D_6F84_11D3_BE5C_0000F87A3912__INCLUDED_)