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.9 KiB

  1. #if !defined(AFX_DPSERVICEPAGE_H__0708329D_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_)
  2. #define AFX_DPSERVICEPAGE_H__0708329D_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DPServicePage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDPServicePage dialog
  11. class CDPServicePage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CDPServicePage)
  14. // Construction
  15. public:
  16. CDPServicePage();
  17. ~CDPServicePage();
  18. // Dialog Data
  19. //{{AFX_DATA(CDPServicePage)
  20. enum { IDD = IDD_DATAPOINT_SERVICEPROCESS };
  21. CListCtrl m_ProcessProperties;
  22. CListCtrl m_ServiceProperties;
  23. int m_iType;
  24. BOOL m_bRequireReset;
  25. CString m_sService;
  26. CString m_sProcess;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generate virtual function overrides
  30. //{{AFX_VIRTUAL(CDPServicePage)
  31. public:
  32. virtual void OnOK();
  33. virtual BOOL OnApply();
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. void UpdateProperties(CListCtrl& Properties, const CString& sNamespace, const CString& sClass);
  40. // Generated message map functions
  41. //{{AFX_MSG(CDPServicePage)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnDestroy();
  44. afx_msg void OnButtonBrowseProcess();
  45. afx_msg void OnButtonBrowseService();
  46. afx_msg void OnChangeEditProcess();
  47. afx_msg void OnRadio1();
  48. afx_msg void OnRadio2();
  49. afx_msg void OnChangeEditService();
  50. afx_msg void OnCheckRequireReset();
  51. afx_msg void OnClickListProcessProperties2(NMHDR* pNMHDR, LRESULT* pResult);
  52. afx_msg void OnClickListServiceProperties(NMHDR* pNMHDR, LRESULT* pResult);
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_DPSERVICEPAGE_H__0708329D_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_)