📄 myeditctrl.h
字号:
#if !defined(AFX_MYEDITCTRL_H__43B972D3_D14E_4E21_B1AF_1C1F97FB32B1__INCLUDED_)
#define AFX_MYEDITCTRL_H__43B972D3_D14E_4E21_B1AF_1C1F97FB32B1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyEditCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyEditCtrl window
class CMyEditCtrl : public CRichEditCtrl
{
// Construction
public:
CMyEditCtrl();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyEditCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMyEditCtrl();
void SetFormatRange(int nStart, int nEnd, BOOL bBold, COLORREF clr);
// Generated message map functions
protected:
//{{AFX_MSG(CMyEditCtrl)
// NOTE - the ClassWizard will add and remove member functions here.
afx_msg UINT OnGetDlgCode();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYEDITCTRL_H__43B972D3_D14E_4E21_B1AF_1C1F97FB32B1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -