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

ICQ/即时通讯

开发平台:

Visual C++

  1. #if !defined(AFX_CONNECTSERVERDLG_H__03E121BB_3B98_41CB_B898_D4EC84AA2C94__INCLUDED_)
  2. #define AFX_CONNECTSERVERDLG_H__03E121BB_3B98_41CB_B898_D4EC84AA2C94__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ConnectServerDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CConnectServerDlg dialog
  10. class CConnectServerDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CConnectServerDlg(CString strName,CString strServerIp,int iServerPort,CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CConnectServerDlg)
  17. enum { IDD = IDD_CONNECTSERVER };
  18. CString m_strServerIp;
  19. int m_iServerPort;
  20. BOOL m_bServerSpecial;
  21. CString m_strUserName;
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CConnectServerDlg)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. private:
  32. CRect rect;
  33. CRect TempRect;
  34. // Generated message map functions
  35. //{{AFX_MSG(CConnectServerDlg)
  36. virtual void OnOK();
  37. virtual BOOL OnInitDialog();
  38. afx_msg void OnServerspecial();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. };
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_CONNECTSERVERDLG_H__03E121BB_3B98_41CB_B898_D4EC84AA2C94__INCLUDED_)