clientview.h

来自「自编的一个SQL服务器,实现服务器的基本功能」· C头文件 代码 · 共 45 行

H
45
字号
// clientView.h : interface of the CClientView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CLIENTVIEW_H__6150BAFC_2678_47DF_B51A_24AAC402F6E3__INCLUDED_)
#define AFX_CLIENTVIEW_H__6150BAFC_2678_47DF_B51A_24AAC402F6E3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CCrystalEditView.h"

class CClientView : public CCrystalEditView
{
public: // create from serialization only
	virtual CCrystalTextBuffer* LocateTextBuffer();
	CClientView();
	virtual ~CClientView();	

	void SetSelection(const CPoint &ptStart, const CPoint &ptEnd)
	{
		CCrystalTextView::SetSelection(ptStart,ptEnd);
	}

protected:
	virtual DWORD ParseLine(DWORD dwCookie, int nLineIndex, TEXTBLOCK *pBuf, int &nActualItems);
	
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSampleView)
	public:
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

	DECLARE_DYNCREATE(CClientView)

// Generated message map functions
protected:
	//{{AFX_MSG(CClientView)
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_CLIENTVIEW_H__6150BAFC_2678_47DF_B51A_24AAC402F6E3__INCLUDED_)

⌨️ 快捷键说明

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