pkg.h

来自「网络编程」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_MESSAGE_H__7FBE7878_1F84_4325_91D1_5F650CB7EA7E__INCLUDED_)
#define AFX_MESSAGE_H__7FBE7878_1F84_4325_91D1_5F650CB7EA7E__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPkg document
class CChatServer;

class CPkg : public CObject
{
protected:
	DECLARE_DYNCREATE(CPkg)

// Attributes
public:
	CPkg();     
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPkg)
	public:
	virtual void Serialize(CArchive& ar);   // overridden for document i/o
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	void Init();

	CString strText;	//1
	
	CString strName;	//2
	BOOL bAway;			//3
	int iMyIcon;		//4
	BOOL bBold;			//5
	BOOL bItalic;		//6
	BOOL bUnderLine;	//7	
	BOOL bStrikeOut;	//8	
	COLORREF clrText;	//9
	CString fontName;	//10
	int fontSize;		//11

	CString ipAddress;	//12
	UINT port;			//13
	UINT request;		//14
	DWORD pSocket;		//15

	virtual ~CPkg();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CPkg)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
};

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

#endif // !defined(AFX_MESSAGE_H__7FBE7878_1F84_4325_91D1_5F650CB7EA7E__INCLUDED_)

⌨️ 快捷键说明

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