?? 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 + -