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

📄 myeditview.h

📁 C++编写的简单文本编辑器
💻 H
字号:
// MyEditView.h : interface of the CMyEditView class

#if !defined(_MYEDITVIEW_H_)
#define _MYEDITVIEW_H_

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


class CMyEditView : public CEditView
{
protected: // create from serialization only
	CMyEditView();
	DECLARE_DYNCREATE(CMyEditView)

// Attributes
public:
	CMyEditDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

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

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MyEditView.cpp
inline CMyEditDoc* CMyEditView::GetDocument()
   { return (CMyEditDoc*)m_pDocument; }
#endif


//{{AFX_INSERT_LOCATION}}

#endif // !defined(_MYEDITVIEW_H_)

⌨️ 快捷键说明

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