// UserPDlg.cpp : implementation file // #include "stdafx.h" #include "dicomsrv.h" #include "UserPDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CUserPropDlg dialog CUserPropDlg::CUserPropDlg(CWnd* pParent /*=NULL*/) : CDialog(CUserPropDlg::IDD, pParent) { //{{AFX_DATA_INIT(CUserPropDlg) m_szAETitle = _T("CLIENT1"); m_szIPAddress = _T("1.1.1.1"); m_lPortNumber = 1000; //}}AFX_DATA_INIT } void CUserPropDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CUserPropDlg) DDX_Text(pDX, IDC_EDIT1, m_szAETitle); DDX_Text(pDX, IDC_EDIT2, m_szIPAddress); DDX_Text(pDX, IDC_EDIT3, m_lPortNumber); DDV_MinMaxLong(pDX, m_lPortNumber, 0, 9999); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CUserPropDlg, CDialog) //{{AFX_MSG_MAP(CUserPropDlg) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CUserPropDlg message handlers BOOL CUserPropDlg::OnInitDialog() { CDialog::OnInitDialog(); UpdateData(FALSE); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }