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

  1. #ifndef CLUSTERCONNECTPAGE_H
  2. #define CLUSTERCONNECTPAGE_H
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "DataSinkI.h"
  6. #include "Document.h"
  7. #include "MNLBUIData.h"
  8. class ClusterConnectPage : public CPropertyPage, public DataSinkI
  9. {
  10. public:
  11. enum
  12. {
  13. IDD = IDD_CLUSTER_CONNECT_PAGE,
  14. };
  15. ClusterConnectPage( ClusterData* clusterData,
  16. CWnd* parent = NULL);
  17. // member controls
  18. CIPAddressCtrl clusterIP;
  19. CIPAddressCtrl clusterMemberName;
  20. CEdit connectionStatus;
  21. // overrides of CDialog
  22. virtual void OnOK();
  23. virtual BOOL OnKillActive();
  24. virtual BOOL OnInitDialog();
  25. virtual void DoDataExchange( CDataExchange* pDX );
  26. afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
  27. afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
  28. // override of DataSinkI
  29. virtual void dataSink( _bstr_t data );
  30. protected:
  31. ClusterData* m_clusterData;
  32. CWnd* myParent;
  33. _bstr_t dataStore;
  34. DECLARE_MESSAGE_MAP()
  35. };
  36. static DWORD g_aHelpIDs_IDD_CLUSTER_CONNECT_PAGE [] = {
  37. IDC_TEXT_CLUSTER_IP, IDC_TEXT_CLUSTER_IP,
  38. IDC_CLUSTER_IP, IDC_CLUSTER_IP,
  39. IDC_TEXT_CLUSTER_MEMBER, IDC_TEXT_CLUSTER_MEMBER,
  40. IDC_CLUSTER_MEMBER, IDC_CLUSTER_MEMBER,
  41. IDC_TEXT_CONNECTION_STATUS, IDC_TEXT_CONNECTION_STATUS,
  42. IDC_CLUSTER_CONNECTION_STATUS, IDC_CLUSTER_CONNECTION_STATUS,
  43. 0, 0
  44. };
  45. #endif