|
|
#ifndef CLUSTERPORTSDLG_H
#define CLUSTERPORTSDLG_H
#include "stdafx.h"
#include "resource.h"
#include "MNLBUIData.h"
#include "CommonNLB.h"
// forward declaration
class PortsPage;
class ClusterPortsDlg : public CDialog { public: enum { IDD = IDD_DIALOG_PORT_RULE_PROP_CLUSTER, };
ClusterPortsDlg( PortsPage::PortData& portData, CWnd* parent, const int& index = -1 );
void PrintRangeError (unsigned int ids, int low, int high);
// overrides of CDialog
virtual void DoDataExchange( CDataExchange* pDX );
virtual void OnOK();
virtual BOOL OnInitDialog();
// message handlers
afx_msg void OnRadioMultiple();
afx_msg void OnRadioSingle();
afx_msg void OnRadioDisabled();
afx_msg BOOL OnHelpInfo (HELPINFO* helpInfo );
afx_msg void OnContextMenu( CWnd* pWnd, CPoint point );
private:
PortsPage::PortData& m_portData;
PortsPage* m_parent;
int m_index;
void SetControlData();
DECLARE_MESSAGE_MAP()
};
static DWORD g_aHelpIDs_IDD_PORT_RULE_PROP_CLUSTER [] = { IDC_GROUP_RANGE, IDC_GROUP_RANGE, IDC_TEXT_START, IDC_EDIT_START, IDC_EDIT_START, IDC_EDIT_START, IDC_SPIN_START, IDC_EDIT_START, IDC_TEXT_END, IDC_EDIT_END, IDC_EDIT_END, IDC_EDIT_END, IDC_SPIN_END, IDC_EDIT_END, IDC_GROUP_PROTOCOLS, IDC_GROUP_PROTOCOLS, IDC_RADIO_TCP, IDC_RADIO_TCP, IDC_RADIO_UDP, IDC_RADIO_UDP, IDC_RADIO_BOTH, IDC_RADIO_BOTH, IDC_GROUP_DISABLED, IDC_GROUP_DISABLED, IDC_GROUP_SINGLE, IDC_GROUP_SINGLE, IDC_GROUP_MULTIPLE, IDC_GROUP_MULTIPLE, IDC_RADIO_MULTIPLE, IDC_RADIO_MULTIPLE, IDC_RADIO_SINGLE, IDC_RADIO_SINGLE, IDC_RADIO_DISABLED, IDC_RADIO_DISABLED, IDC_TEXT_AFF, IDC_TEXT_AFF, IDC_RADIO_AFF_NONE, IDC_RADIO_AFF_NONE, IDC_RADIO_AFF_SINGLE, IDC_RADIO_AFF_SINGLE, IDC_RADIO_AFF_CLASSC, IDC_RADIO_AFF_CLASSC, IDC_TEXT_MULTI, IDC_TEXT_MULTI, IDC_RADIO_EQUAL, IDC_CHECK_EQUAL, IDC_RADIO_UNEQUAL, IDC_EDIT_MULTI, 0, 0 };
#endif
|