chat.h

来自「本代码是基于LINUX系统下的」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_CHAT_H__63886894_27B9_4272_990D_FFC2174D331E__INCLUDED_)
#define AFX_CHAT_H__63886894_27B9_4272_990D_FFC2174D331E__INCLUDED_

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

#include "User.h"

/////////////////////////////////////////////////////////////////////////////
// CChat dialog

//##ModelId=46417F3901D7
class CChat : public CDialog
{
// Construction
public:
	void displayReveMessage(CString& message);
	//##ModelId=46417F3901E2
	CChat(CWnd* pParent = NULL);   // standard constructor
	CUser* m_contactor;

// Dialog Data
	//{{AFX_DATA(CChat)
	enum { IDD = IDD_CHAT_DIALOG };
	//##ModelId=46417F3901EB
	CString	m_chatMessage;
	//##ModelId=46417F3901EC
	CString	m_sendMessage;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CChat)
	virtual BOOL OnInitDialog();
	afx_msg void OnSend();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CHAT_H__63886894_27B9_4272_990D_FFC2174D331E__INCLUDED_)

⌨️ 快捷键说明

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