📄 richeditex.h
字号:
#if !defined(AFX_RESULTCTRL_H__70B1D39D_740E_483A_8345_2B0BFE6F1BF5__INCLUDED_)
#define AFX_RESULTCTRL_H__70B1D39D_740E_483A_8345_2B0BFE6F1BF5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ResultCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRichEditEx window
class CRichEditEx : public CRichEditCtrl
{
// Construction
public:
CRichEditEx();
// Attributes
public:
// Operations
public:
void AddString( LPCSTR lpszText );
void AddLine( LPCSTR lpszText );
void AddColorString( LPCSTR lpszText, COLORREF color = 0x000000 );
void AddColorLine( LPCSTR lpszText, COLORREF color = 0x000000 );
void DoSuccess( LPCSTR lpszText = "SUCCESS", COLORREF color = 0x008000 );
void DoFailure( LPCSTR lpszText = "FAILURE", COLORREF color = 0x0000ff );
void SetNormalTextColor( COLORREF color = 0x000000 );
void ClearAll();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRichEditEx)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CRichEditEx();
// Generated message map functions
protected:
//{{AFX_MSG(CRichEditEx)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
CHARFORMAT m_DefaultFormat;
CHARFORMAT m_TempFormat;
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RESULTCTRL_H__70B1D39D_740E_483A_8345_2B0BFE6F1BF5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -