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.

52 lines
1016 B

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