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.

79 lines
2.2 KiB

  1. #ifndef CLUSTERPAGE_H
  2. #define CLUSTERPAGE_H
  3. #include "stdafx.h"
  4. #include "resource.h"
  5. #include "MNLBUIData.h"
  6. #include "CommonClusterPage.h"
  7. class ClusterPage : public CPropertyPage
  8. {
  9. public:
  10. enum
  11. {
  12. IDD = IDD_CLUSTER_PAGE,
  13. };
  14. ClusterPage( ClusterProperties* pClusterProperty,
  15. bool fDisablePage,
  16. UINT ID = ClusterPage::IDD );
  17. ~ClusterPage();
  18. // overrides of CPropertyPage
  19. virtual BOOL OnInitDialog();
  20. virtual BOOL OnNotify(WPARAM idCtrl , LPARAM pnmh , LRESULT* pResult) ;
  21. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam) ;
  22. virtual void OnOK();
  23. afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
  24. afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
  25. protected:
  26. ClusterProperties* m_pClusterProperty;
  27. //
  28. // Pointer to the object that does the actual work
  29. //
  30. CCommonClusterPage* m_pCommonClusterPage;
  31. //
  32. // The struct to be passed to the CCommonClusterPage as input and output
  33. //
  34. NETCFG_WLBS_CONFIG m_WlbsConfig;
  35. bool m_fDisablePage; // True is the page is for host property
  36. // Otherwise tha page is for cluster property
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. static DWORD g_aHelpIDs_IDD_CLUSTER_PAGE [] = {
  40. IDC_GROUP_CL_IP, IDC_GROUP_CL_IP,
  41. IDC_TEXT_CL_IP, IDC_EDIT_CL_IP,
  42. IDC_EDIT_CL_IP, IDC_EDIT_CL_IP,
  43. IDC_TEXT_CL_MASK, IDC_EDIT_CL_MASK,
  44. IDC_EDIT_CL_MASK, IDC_EDIT_CL_MASK,
  45. IDC_TEXT_DOMAIN, IDC_EDIT_DOMAIN,
  46. IDC_EDIT_DOMAIN, IDC_EDIT_DOMAIN,
  47. IDC_TEXT_ETH, IDC_EDIT_ETH,
  48. IDC_EDIT_ETH, IDC_EDIT_ETH,
  49. IDC_GROUP_CL_MODE, IDC_GROUP_CL_MODE,
  50. IDC_RADIO_UNICAST, IDC_RADIO_UNICAST,
  51. IDC_RADIO_MULTICAST, IDC_RADIO_MULTICAST,
  52. IDC_CHECK_IGMP, IDC_CHECK_IGMP,
  53. IDC_GROUP_RCT, IDC_CHECK_RCT,
  54. IDC_CHECK_RCT, IDC_CHECK_RCT,
  55. IDC_TEXT_PASSW, IDC_EDIT_PASSW,
  56. IDC_EDIT_PASSW, IDC_EDIT_PASSW,
  57. IDC_TEXT_PASSW2, IDC_EDIT_PASSW2,
  58. IDC_EDIT_PASSW2, IDC_EDIT_PASSW2,
  59. 0, 0
  60. };
  61. #endif