⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hatdlg.h

📁 本系统所完成功能如下: &#61548 即时消息:用户之间发送即时消息。 &#61548 聊天纪录:聊天记录的保存及显示。 &#61548 注册:登陆界面即可进入注册界面 &#61548
💻 H
字号:
#if !defined(AFX_HATDLG_H__53AE1C85_30A6_43DE_B987_F3B15BDFC497__INCLUDED_)
#define AFX_HATDLG_H__53AE1C85_30A6_43DE_B987_F3B15BDFC497__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// hatDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// ChatDlg dialog
#include "IM1.h"
#define	WM_RECVDATA		WM_USER+1
class ChatDlg : public CDialog
{
// Construction
public:
	BOOL SetSaveRecvTxt(CString str,BOOL Ta);
	SOCKET m_socket;
	//friend static DWORD WINAPI IM::RecvProc(LPVOID lpParameter);
	ChatDlg(CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(ChatDlg)
	enum { IDD = IDD_DLG_CHAT };
	int		m_nuid;
	CString	m_nicheng;
//	CString	m_nChistory;
	CString	m_nToSendMsg;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(ChatDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual BOOL OnInitDialog();
	
	// Generated message map functions
	//{{AFX_MSG(ChatDlg)
	afx_msg void OnButton1();
	afx_msg void OnBtnSend();
	//}}AFX_MSG
	afx_msg void OnRecvData(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
private:
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HATDLG_H__53AE1C85_30A6_43DE_B987_F3B15BDFC497__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -