SetServerPortDlg.cpp
上传用户:power_led
上传日期:2013-04-11
资源大小:373k
文件大小:1k
源码类别:

ICQ/即时通讯

开发平台:

Visual C++

  1. // SetServerPortDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "CChatServer.h"
  5. #include "SetServerPortDlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CSetServerPortDlg dialog
  13. CSetServerPortDlg::CSetServerPortDlg(CWnd* pParent /*=NULL*/)
  14. : CDialog(CSetServerPortDlg::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CSetServerPortDlg)
  17. m_iServerPort = 1080;
  18. //}}AFX_DATA_INIT
  19. }
  20. void CSetServerPortDlg::DoDataExchange(CDataExchange* pDX)
  21. {
  22. CDialog::DoDataExchange(pDX);
  23. //{{AFX_DATA_MAP(CSetServerPortDlg)
  24. DDX_Text(pDX, IDC_SERVERPORT, m_iServerPort);
  25. DDV_MinMaxInt(pDX, m_iServerPort, 0, 65536);
  26. //}}AFX_DATA_MAP
  27. }
  28. BEGIN_MESSAGE_MAP(CSetServerPortDlg, CDialog)
  29. //{{AFX_MSG_MAP(CSetServerPortDlg)
  30. // NOTE: the ClassWizard will add message map macros here
  31. //}}AFX_MSG_MAP
  32. END_MESSAGE_MAP()
  33. /////////////////////////////////////////////////////////////////////////////
  34. // CSetServerPortDlg message handlers