chataction.h

来自「实现了网络通信.具有类似QQ的功能,具有客户端与服务器」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_CHATACTION_H__72886D83_9E82_43D1_833B_FB31C865EB5C__INCLUDED_)
#define AFX_CHATACTION_H__72886D83_9E82_43D1_833B_FB31C865EB5C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChatAction.h : header file
//
#include "MainSocket.h"
/////////////////////////////////////////////////////////////////////////////
// CChatAction dialog

class CChatAction : public CDialog
{
// Construction
public:
	CMainSocket * m_pMainSocket;
	int m_Height;
	CRect m_Rect;
	CString m_strName;
	CString m_strClientName;
	CString m_strConnect;
	CChatAction(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CChatAction)
	enum { IDD = IDD_CHAT_ACTION };
	CButton	m_OK;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CChatAction)
	afx_msg void OnTimer(UINT nIDEvent);
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CHATACTION_H__72886D83_9E82_43D1_833B_FB31C865EB5C__INCLUDED_)

⌨️ 快捷键说明

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