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.

69 lines
1.8 KiB

  1. #if !defined(AFX_HMHISTORYPAGE_H__C3F44E6F_BA00_11D2_BD76_0000F87A3912__INCLUDED_)
  2. #define AFX_HMHISTORYPAGE_H__C3F44E6F_BA00_11D2_BD76_0000F87A3912__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // HMHistoryPage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CHMHistoryPage dialog
  11. class CHMHistoryPage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CHMHistoryPage)
  14. // Construction
  15. public:
  16. CHMHistoryPage();
  17. ~CHMHistoryPage();
  18. // Dialog Data
  19. //{{AFX_DATA(CHMHistoryPage)
  20. enum { IDD = IDD_HEALTHMONITOR_HISTORY };
  21. CSpinButtonCtrl m_TimeSpin;
  22. CSpinButtonCtrl m_EventSpin;
  23. CComboBox m_TimeUnits;
  24. int m_iRefreshSelection;
  25. int m_iTimePeriod;
  26. int m_iNumberEvents;
  27. //}}AFX_DATA
  28. TimeUnit m_Units;
  29. // Overrides
  30. // ClassWizard generate virtual function overrides
  31. //{{AFX_VIRTUAL(CHMHistoryPage)
  32. public:
  33. virtual void OnFinalRelease();
  34. virtual void OnOK();
  35. virtual BOOL OnApply();
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CHMHistoryPage)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnRadioNone();
  45. afx_msg void OnRadioNumberEvents();
  46. afx_msg void OnRadioTimePeriod();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. // Generated OLE dispatch map functions
  50. //{{AFX_DISPATCH(CHMHistoryPage)
  51. // NOTE - the ClassWizard will add and remove member functions here.
  52. //}}AFX_DISPATCH
  53. DECLARE_DISPATCH_MAP()
  54. DECLARE_INTERFACE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_HMHISTORYPAGE_H__C3F44E6F_BA00_11D2_BD76_0000F87A3912__INCLUDED_)