myrichedit.h
来自「这是我仿照串口助手(龚建伟)作的一个例子并修正了其中的一些bug」· C头文件 代码 · 共 48 行
H
48 行
#if !defined(AFX_MYRICHEDIT_H__062A5E70_CF0E_40B4_A0F1_DAEF6B0B9543__INCLUDED_)
#define AFX_MYRICHEDIT_H__062A5E70_CF0E_40B4_A0F1_DAEF6B0B9543__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyRichEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyRichEdit window
class CMyRichEdit : public CRichEditCtrl
{
// Construction
public:
CMyRichEdit();
// Attributes
public:
// Operations
public:
void AddText(CString &strTextIn, COLORREF &crNewColor);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyRichEdit)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMyRichEdit();
// Generated message map functions
protected:
//{{AFX_MSG(CMyRichEdit)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYRICHEDIT_H__062A5E70_CF0E_40B4_A0F1_DAEF6B0B9543__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?