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.

82 lines
1.8 KiB

  1. #ifndef CLUSTERCONNECTINDIRECTPAGE_H
  2. #define CLUSTERCONNECTINDIRECTPAGE_H
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "DataSinkI.h"
  6. #include "Document.h"
  7. #include "MNLBUIData.h"
  8. class ClusterConnectIndirectPage : public CPropertyPage, public DataSinkI
  9. {
  10. public:
  11. enum
  12. {
  13. IDD = IDD_CLUSTER_CONNECT_INDIRECT_PAGE,
  14. };
  15. ClusterConnectIndirectPage( ClusterData* clusterData,
  16. CWnd* parent = NULL);
  17. // member controls
  18. CIPAddressCtrl clusterIP;
  19. CIPAddressCtrl machineIP;
  20. CListBox machineIPList;
  21. CEdit connectionStatus;
  22. CButton addButton;
  23. CButton removeButton;
  24. // overrides of CDialog
  25. virtual void OnOK();
  26. virtual BOOL OnKillActive();
  27. virtual BOOL OnInitDialog();
  28. virtual void DoDataExchange( CDataExchange* pDX );
  29. afx_msg void OnButtonAdd();
  30. afx_msg void OnButtonDel();
  31. afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
  32. afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
  33. // override of DataSinkI
  34. virtual void dataSink( _bstr_t data );
  35. protected:
  36. ClusterData* m_clusterData;
  37. CWnd* myParent;
  38. _bstr_t dataStore;
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. static DWORD g_aHelpIDs_IDD_CLUSTER_CONNECT_INDIRECT_PAGE [] = {
  42. IDC_TEXT_CLUSTER_IP, IDC_TEXT_CLUSTER_IP,
  43. IDC_CLUSTER_IP, IDC_CLUSTER_IP,
  44. IDC_TEXT_MACHINE, IDC_TEXT_MACHINE,
  45. IDC_MACHINE, IDC_MACHINE,
  46. IDC_ADD_MACHINE, IDC_ADD_MACHINE,
  47. IDC_TEXT_MACHINE_IP_LIST, IDC_TEXT_MACHINE_IP_LIST,
  48. IDC_MACHINE_IP_LIST, IDC_MACHINE_IP_LIST,
  49. IDC_DEL_MACHINE, IDC_DEL_MACHINE,
  50. IDC_TEXT_CONNECTION_STATUS, IDC_TEXT_CONNECTION_STATUS,
  51. IDC_CLUSTER_CONNECTION_STATUS, IDC_CLUSTER_CONNECTION_STATUS,
  52. 0, 0
  53. };
  54. #endif