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.

74 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1997
  6. //
  7. // File: pgsbm.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #if !defined(AFX_PGSBM_H__C0DCD9EC_64FE_11D1_855B_00C04FC31FD3__INCLUDED_)
  11. #define AFX_PGSBM_H__C0DCD9EC_64FE_11D1_855B_00C04FC31FD3__INCLUDED_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. // PgSBM.h : header file
  16. //
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CPgSBM dialog
  19. class CPgSBM : public CACSPage
  20. {
  21. DECLARE_DYNCREATE(CPgSBM)
  22. // Construction
  23. CPgSBM();
  24. public:
  25. CPgSBM(CACSSubnetConfig* pConfig);
  26. ~CPgSBM();
  27. // Dialog Data
  28. //{{AFX_DATA(CPgSBM)
  29. enum { IDD = IDD_SBM };
  30. CSpinButtonCtrl m_SpinElection;
  31. DWORD m_dwAliveInterval;
  32. DWORD m_dwB4Reserve;
  33. DWORD m_dwDeadInterval;
  34. DWORD m_dwElection;
  35. DWORD m_dwTimeout;
  36. //}}AFX_DATA
  37. // Overrides
  38. // ClassWizard generate virtual function overrides
  39. //{{AFX_VIRTUAL(CPgSBM)
  40. public:
  41. virtual BOOL OnApply();
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CPgSBM)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnChangeEditAliveinterval();
  51. afx_msg void OnChangeEditB4reserve();
  52. afx_msg void OnChangeEditDeadinterval();
  53. afx_msg void OnChangeEditElection();
  54. afx_msg void OnChangeEditTimeout();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. void DataInit();
  58. CComPtr<CACSSubnetConfig> m_spConfig;
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_PGSBM_H__C0DCD9EC_64FE_11D1_855B_00C04FC31FD3__INCLUDED_)