Back to index

lightning-sunbird  0.9+nobinonly
ConnDlg.cpp
Go to the documentation of this file.
00001 // ConnDlg.cpp : implementation file
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "winldap.h"
00006 #include "ConnDlg.h"
00007 
00008 #ifdef _DEBUG
00009 #define new DEBUG_NEW
00010 #undef THIS_FILE
00011 static char THIS_FILE[] = __FILE__;
00012 #endif
00013 
00015 // ConnDlg dialog
00016 
00017 
00018 ConnDlg::ConnDlg(CWnd* pParent /*=NULL*/)
00019        : CDialog(ConnDlg::IDD, pParent)
00020 {
00021        //{{AFX_DATA_INIT(ConnDlg)
00022        m_dirHost = _T("");
00023        m_dirPort = 0;
00024        //}}AFX_DATA_INIT
00025 }
00026 
00027 
00028 void ConnDlg::DoDataExchange(CDataExchange* pDX)
00029 {
00030        CDialog::DoDataExchange(pDX);
00031        //{{AFX_DATA_MAP(ConnDlg)
00032        DDX_Text(pDX, IDC_DIR_HOST, m_dirHost);
00033        DDX_Text(pDX, IDC_DIR_PORT, m_dirPort);
00034        DDV_MinMaxInt(pDX, m_dirPort, 1, 32000);
00035        //}}AFX_DATA_MAP
00036 }
00037 
00038 
00039 BEGIN_MESSAGE_MAP(ConnDlg, CDialog)
00040        //{{AFX_MSG_MAP(ConnDlg)
00041               // NOTE: the ClassWizard will add message map macros here
00042        //}}AFX_MSG_MAP
00043 END_MESSAGE_MAP()
00044 
00046 // ConnDlg message handlers