MyChatDlg.h
资源名称:xcchat.rar [点击查看]
上传用户:posgewe
上传日期:2013-05-17
资源大小:69k
文件大小:2k
源码类别:
Telnet服务器
开发平台:
Visual C++
- // MyChatDlg.h : header file
- //
- #if !defined(AFX_MYCHATDLG_H__875B79E4_6695_47DD_AEA0_4B6872FD8B16__INCLUDED_)
- #define AFX_MYCHATDLG_H__875B79E4_6695_47DD_AEA0_4B6872FD8B16__INCLUDED_
- #include "ClientSocket.h"
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMyChatDlg dialog
- extern CMyChatApp theApp;
- class CMyChatDlg : public CDialog
- {
- // Construction
- public:
- void UpdateUser();
- BOOL GetMessage();
- CMyChatDlg(CClientSocket *p_Socket,CWnd* pParent = NULL); // standard constructor
- CClientSocket *m_pSocket;
- // Dialog Data
- //{{AFX_DATA(CMyChatDlg)
- enum { IDD = IDD_MYCHAT_DIALOG };
- CListBox m_UserList;
- CEdit m_MessageList;
- CString m_strMessage;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyChatDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CMyChatDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnSend();
- virtual void OnCancel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MYCHATDLG_H__875B79E4_6695_47DD_AEA0_4B6872FD8B16__INCLUDED_)