// ConDlg.cpp : implementation file // #include "stdafx.h" #include "net.h" #include "ConDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CConnectDialog dialog CConnectDialog::CConnectDialog(CWnd* pParent /*=NULL*/) : CDialog(CConnectDialog::IDD, pParent) { //{{AFX_DATA_INIT(CConnectDialog) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT m_bLoadDiaolg = FALSE; } void CConnectDialog::DoDataExchange(CDataExchange* pDX) { DDX_Text(pDX, IDC_URL, m_strAddress); CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CConnectDialog) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CConnectDialog, CDialog) //{{AFX_MSG_MAP(CConnectDialog) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CConnectDialog message handlers BOOL CConnectDialog::OnInitDialog() { CDialog::OnInitDialog(); if(m_bLoadDiaolg) SetWindowText(_T("Image to load from remote server")); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }