📄 bmptextview.h
字号:
// BmpTextView.h : interface of the CBmpTextView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BMPTEXTVIEW_H__AAEA9F6D_0BB7_11D3_BE3E_B34D7050454E__INCLUDED_)
#define AFX_BMPTEXTVIEW_H__AAEA9F6D_0BB7_11D3_BE3E_B34D7050454E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CBmpTextView : public CScrollView
{
protected: // create from serialization only
CBmpTextView();
DECLARE_DYNCREATE(CBmpTextView)
// Attributes
public:
CBmpTextDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBmpTextView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBmpTextView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBmpTextView)
afx_msg void OnFileOpen();
afx_msg void OnPaint();
afx_msg void OnFileClose();
afx_msg void OnFileNew();
afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
afx_msg void OnUpdateFileSaveAs(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
BOOL isOpenFile;
};
#ifndef _DEBUG // debug version in BmpTextView.cpp
inline CBmpTextDoc* CBmpTextView::GetDocument()
{ return (CBmpTextDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BMPTEXTVIEW_H__AAEA9F6D_0BB7_11D3_BE3E_B34D7050454E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -