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
47 lines
1004 B
#pragma once
|
|
#include "private.h"
|
|
class PortsControlPage : public CPropertyPage
|
|
{
|
|
public:
|
|
enum
|
|
{
|
|
IDD = IDD_PORTS_CONTROL_PAGE,
|
|
};
|
|
|
|
// member controls.
|
|
PortsControlPage( ClusterData* p_clusterData,
|
|
unsigned long* portSelected,
|
|
UINT ID = PortsControlPage::IDD );
|
|
|
|
CComboBox portList;
|
|
|
|
// overrides of CPropertyPage
|
|
virtual void DoDataExchange( CDataExchange* pDX );
|
|
|
|
virtual BOOL OnInitDialog();
|
|
|
|
virtual void OnOK();
|
|
|
|
afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
|
|
|
|
afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
|
|
|
|
protected :
|
|
|
|
unsigned long* m_portSelected;
|
|
|
|
ClusterData* m_clusterData;
|
|
|
|
map< long, PortDataX> m_portX;
|
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
static DWORD g_aHelpIDs_IDD_PORTS_CONTROL_PAGE [] = {
|
|
IDC_TEXT_START_PORT, IDC_TEXT_START_PORT,
|
|
IDC_PORTS, IDC_PORTS,
|
|
0,0
|
|
};
|
|
|
|
|