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

📄 talkdlg.h

📁 仿QQ的聊天程序vc++/mfc来学习的简易聊天室代码功能较全
💻 H
字号:
#if !defined(AFX_TALKDLG_H__E1A23953_51A9_11D5_B139_E09F3742E700__INCLUDED_)
#define AFX_TALKDLG_H__E1A23953_51A9_11D5_B139_E09F3742E700__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TalkDlg.h : header file
//
#include "bmpbutton.h"

/////////////////////////////////////////////////////////////////////////////
// CTalkDlg dialog


class CTalkDlg : public CDialog
{
// Construction
public:
	CFont* m_font;
	CTalkDlg(CWnd* pParent = NULL);   // standard constructor
	CClientApp* GetApp(){return (CClientApp*)AfxGetApp();};	

// Dialog Data
	//{{AFX_DATA(CTalkDlg)
	enum { IDD = IDD_SEND_MESS };
	CBmpButton	m_headBmp;
	CEdit	m_TalkRecord;
	CEdit	m_TalkEdit;
	CString	m_strID;
	CString	m_strName;
	CString	m_strCity;
	//}}AFX_DATA

	UserInfo * pInfo;
	FriendState * pState;	
	int nPhotoId;
	HICON hIcon;

	BOOL bClosed;
	BOOL m_bCancel;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTalkDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTalkDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnShowDetail();	
	afx_msg void OnClose();
	virtual void OnCancel();
	afx_msg void OnFont();
	//}}AFX_MSG
	afx_msg LRESULT OnSendMsg(WPARAM wParam,LPARAM lParam);	
	afx_msg LRESULT OnRefreshData(WPARAM wParam,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TALKDLG_H__E1A23953_51A9_11D5_B139_E09F3742E700__INCLUDED_)

⌨️ 快捷键说明

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