// dlgconn.cpp : implementation file // #include "stdafx.h" #include "regtrace.h" #include "dlgconn.h" #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CConnectDlg dialog CConnectDlg::CConnectDlg(CWnd* pParent /*=NULL*/) : CDialog(CConnectDlg::IDD, pParent) { //{{AFX_DATA_INIT(CConnectDlg) m_szConnect = _T(""); //}}AFX_DATA_INIT } void CConnectDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CConnectDlg) DDX_Text(pDX, IDC_CONNECT_TXT, m_szConnect); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CConnectDlg, CDialog) //{{AFX_MSG_MAP(CConnectDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CConnectDlg message handlers BOOL CConnectDlg::OnInitDialog() { CString szFormat; szFormat.LoadString( IDS_CONNECT_FORMAT ); m_szConnect.Format( (LPCTSTR)szFormat, App.GetRemoteServerName() ); CDialog::OnInitDialog(); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }