SetServerPortDlg.cpp
资源名称:QQ示例源码.rar [点击查看]
上传用户:power_led
上传日期:2013-04-11
资源大小:373k
文件大小:1k
源码类别:
ICQ/即时通讯
开发平台:
Visual C++
- // SetServerPortDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "CChatServer.h"
- #include "SetServerPortDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSetServerPortDlg dialog
- CSetServerPortDlg::CSetServerPortDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CSetServerPortDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CSetServerPortDlg)
- m_iServerPort = 1080;
- //}}AFX_DATA_INIT
- }
- void CSetServerPortDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CSetServerPortDlg)
- DDX_Text(pDX, IDC_SERVERPORT, m_iServerPort);
- DDV_MinMaxInt(pDX, m_iServerPort, 0, 65536);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CSetServerPortDlg, CDialog)
- //{{AFX_MSG_MAP(CSetServerPortDlg)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CSetServerPortDlg message handlers