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

📄 frienddetail.h

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FriendDetail.h : header file
//
#include "client.h"
#include "bmpcombox.h"
/////////////////////////////////////////////////////////////////////////////
// CFriendDetailDlg dialog

class CFriendDetailDlg : public CDialog
{
// Construction
public:
	void SetOwnerWnd(CWnd* pwnd){pWnd=pwnd;};
	CFriendDetailDlg(CWnd* pParent = NULL);   // standard constructor
	CClientApp* GetApp(){return (CClientApp*)AfxGetApp();};
// Dialog Data
	//{{AFX_DATA(CFriendDetailDlg)
	enum { IDD = IDD_FRIEND_DETAIL };
	CComboBox	m_ComboSex;
	CBmpComBox	m_ComboFace;
	CString	m_strCountry;
	CString	m_strAge;
	CString	m_strProvince;
	CString	m_strCity;
//	CString	m_strEmail;
//	CString	m_strFax;
//	CString	m_strHomepage;
	CString	m_strID;
	CString	m_strName;
//	CString	m_strPhone;
	int		m_canbeadd;
	//}}AFX_DATA
	UserInfo* pInfo;
	HICON hIcon;
	CWnd* pWnd;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFriendDetailDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
	// Generated message map functions
	//{{AFX_MSG(CFriendDetailDlg)
public:
	afx_msg void OnRefresh();
protected:
	virtual BOOL OnInitDialog();
	afx_msg void OnTimer(UINT nIDEvent);
	virtual void OnCancel();
	afx_msg void OnClose();
	//}}AFX_MSG
	afx_msg LRESULT OnShowFriendDetail(WPARAM wParam,LPARAM lParam);
	afx_msg LRESULT OnRecvFriendDetail(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_FRIENDDETAIL_H__2825ACF3_540E_11D5_B142_B8DDF6DFE200__INCLUDED_)

⌨️ 快捷键说明

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