textview.h
来自「《Visual C++.NET MFC类库应用详解》程序实例」· C头文件 代码 · 共 55 行
H
55 行
// TextView.h : interface of the CTextView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TEXTVIEW_H__B34992AC_84D9_11D4_AAFF_A04B491B1847__INCLUDED_)
#define AFX_TEXTVIEW_H__B34992AC_84D9_11D4_AAFF_A04B491B1847__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTextView window
class CTextView : public CWnd
{
// Construction
public:
CTextView();
// Attributes
protected:
COLORREF m_ColorText;
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTextView)
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTextView();
// Generated message map functions
protected:
//{{AFX_MSG(CTextView)
afx_msg void OnPaint();
afx_msg void OnViewColor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEXTVIEW_H__B34992AC_84D9_11D4_AAFF_A04B491B1847__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?