📄 texteditview.h
字号:
#if !defined(AFX_TEXTEDITVIEW_H__B6D86061_0BBB_11D3_BE3E_B34D7050454E__INCLUDED_)
#define AFX_TEXTEDITVIEW_H__B6D86061_0BBB_11D3_BE3E_B34D7050454E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// TextEditView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTextEditView view
class CTextEditView : public CEditView
{
protected:
CTextEditView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CTextEditView)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTextEditView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CTextEditView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CTextEditView)
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnFileSaveAs();
afx_msg void OnUpdateFileClose(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString filename;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEXTEDITVIEW_H__B6D86061_0BBB_11D3_BE3E_B34D7050454E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -