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.

58 lines
987 B

  1. #ifndef MANAGEVIRTUALIPSPAGE_H
  2. #define MANAGEVIRTUALIPSPAGE_H
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "MNLBUIData.h"
  6. class ManageVirtualIPSPage : public CPropertyPage
  7. {
  8. public:
  9. enum
  10. {
  11. IDD = IDD_MANAGE_VIRTUAL_IPS_PAGE,
  12. };
  13. ManageVirtualIPSPage( ClusterData* p_clusterData,
  14. UINT ID = ManageVirtualIPSPage::IDD );
  15. // member controls
  16. CIPAddressCtrl clusterIP;
  17. CIPAddressCtrl virtualIP;
  18. CButton addVirtualIP;
  19. CButton removeVirtualIP;
  20. CListBox virtualIPSList;
  21. // overrides of CPropertyPage
  22. virtual void DoDataExchange( CDataExchange* pDX );
  23. virtual BOOL OnInitDialog();
  24. virtual void OnOK();
  25. // message handlers
  26. afx_msg void OnAddVirtualIP();
  27. afx_msg void OnRemoveVirtualIP();
  28. protected:
  29. ClusterData* m_clusterData;
  30. void
  31. SetControlData();
  32. void
  33. ReadControlData();
  34. DECLARE_MESSAGE_MAP()
  35. };
  36. #endif