myeditview.h
来自「C++编写的简单文本编辑器」· C头文件 代码 · 共 54 行
H
54 行
// 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 + =
减小字号Ctrl + -
显示快捷键?