📄 errorview.h
字号:
#if !defined(AFX_ERRORVIEW_H__B8A40F3F_50A7_42C1_BB6F_1564B260063E__INCLUDED_)
#define AFX_ERRORVIEW_H__B8A40F3F_50A7_42C1_BB6F_1564B260063E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ErrorView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CErrorView view
class CErrorView : public CView
{
protected:
CErrorView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CErrorView)
// Attributes
//以下是用于垂直滚动条的信息
int m_nLineNum;
int m_nLineHeight;
int m_nStartLine;
//以下是用于水平滚动条的信息
int m_nCharNum;
int m_nCharWidth;
int m_nStartChar;
//被选择的行,高亮度显示
int m_nSelectedLine;
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CErrorView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CErrorView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CErrorView)
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnFileOpen();
afx_msg void OnFileSave();
afx_msg void OnFileNew();
afx_msg void OnFileSaveAs();
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ERRORVIEW_H__B8A40F3F_50A7_42C1_BB6F_1564B260063E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -