ChatServerDlg.h
上传用户:posgewe
上传日期:2013-05-17
资源大小:69k
文件大小:1k
源码类别:

Telnet服务器

开发平台:

Visual C++

  1. // ChatServerDlg.h : header file
  2. //
  3. #if !defined(AFX_CHATSERVERDLG_H__BC532E37_5221_4A12_A853_67AF1A8C1C4E__INCLUDED_)
  4. #define AFX_CHATSERVERDLG_H__BC532E37_5221_4A12_A853_67AF1A8C1C4E__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CChatServerDlg dialog
  10. class CClientSocket;
  11. class CChatServerDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. void UpdateUser(CClientSocket *pSocket);
  16. CChatServerDlg(CWnd* pParent = NULL); // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CChatServerDlg)
  19. enum { IDD = IDD_CHATSERVER_DIALOG };
  20. CListBox m_UserList;
  21. //}}AFX_DATA
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CChatServerDlg)
  24. protected:
  25. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. protected:
  29. HICON m_hIcon;
  30. // Generated message map functions
  31. //{{AFX_MSG(CChatServerDlg)
  32. virtual BOOL OnInitDialog();
  33. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  34. afx_msg void OnPaint();
  35. afx_msg HCURSOR OnQueryDragIcon();
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. //{{AFX_INSERT_LOCATION}}
  40. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  41. #endif // !defined(AFX_CHATSERVERDLG_H__BC532E37_5221_4A12_A853_67AF1A8C1C4E__INCLUDED_)