systemmsgview.h

来自「vc网络游戏设计与实现源代码」· C头文件 代码 · 共 67 行

H
67
字号
/*******************************************************************************
ServerTreeView.h
系统消息视图

修改历史:
    2002-07-02
		创建文件
	2002-07-05
		增加一个RichEdit到SystemMsgView中
*******************************************************************************/
#if !defined(AFX_SYSTEMMSGVIEW_H__17C68F26_D4DB_491E_AD98_28E7238D3259__INCLUDED_)
#define AFX_SYSTEMMSGVIEW_H__17C68F26_D4DB_491E_AD98_28E7238D3259__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSystemMsgView view
#include "RichEditCtrlEx.h"
class CSystemMsgView : public CView
{
protected:
	CSystemMsgView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CSystemMsgView)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSystemMsgView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CSystemMsgView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CSystemMsgView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CRichEditCtrlEx	m_SystemMsg;
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_SYSTEMMSGVIEW_H__17C68F26_D4DB_491E_AD98_28E7238D3259__INCLUDED_)

⌨️ 快捷键说明

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