#pragma once class CWizSetCfgPage : public CPropertyPageImpl, public CWinDataExchange { public: enum { IDD = IDD_SETCFG }; CWizSetCfgPage(IInitializeService* pService); ~CWizSetCfgPage(void); // Maps BEGIN_MSG_MAP(CInitWizardSheet) MSG_WM_INITDIALOG(OnInitDialog) CHAIN_MSG_MAP(CPropertyPageImpl) END_MSG_MAP() BEGIN_DDX_MAP(CWizSetCfgPage) DDX_TEXT(IDC_EDITSETTINGSERVER1, m_strCenterSettingServer1) DDX_TEXT(IDC_EDITSETTINGSERVER2, m_strCenterSettingServer2) DDX_INT(IDC_EDITSETTINGPORT, m_nCenterSettingPort) END_DDX_MAP() // Message handlers BOOL OnInitDialog ( HWND hwndFocus, LPARAM lParam ); // Overrides from base class int OnSetActive(); INT_PTR OnWizardFinish(); private: IInitializeService *m_pInitService; CString m_strCenterSettingServer1; CString m_strCenterSettingServer2; int m_nCenterSettingPort; };