Leaked source code of windows server 2003
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.

47 lines
1004 B

  1. #pragma once
  2. #include "private.h"
  3. class PortsControlPage : public CPropertyPage
  4. {
  5. public:
  6. enum
  7. {
  8. IDD = IDD_PORTS_CONTROL_PAGE,
  9. };
  10. // member controls.
  11. PortsControlPage( ClusterData* p_clusterData,
  12. unsigned long* portSelected,
  13. UINT ID = PortsControlPage::IDD );
  14. CComboBox portList;
  15. // overrides of CPropertyPage
  16. virtual void DoDataExchange( CDataExchange* pDX );
  17. virtual BOOL OnInitDialog();
  18. virtual void OnOK();
  19. afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
  20. afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
  21. protected :
  22. unsigned long* m_portSelected;
  23. ClusterData* m_clusterData;
  24. map< long, PortDataX> m_portX;
  25. DECLARE_MESSAGE_MAP()
  26. };
  27. static DWORD g_aHelpIDs_IDD_PORTS_CONTROL_PAGE [] = {
  28. IDC_TEXT_START_PORT, IDC_TEXT_START_PORT,
  29. IDC_PORTS, IDC_PORTS,
  30. 0,0
  31. };