📄 editreadonly.h
字号:
#if !defined(AFX_EDITREADONLY_H__4749FA48_D773_11D5_9E4C_00E0296C853D__INCLUDED_)
#define AFX_EDITREADONLY_H__4749FA48_D773_11D5_9E4C_00E0296C853D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditReadonly.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEditReadonly window
class CEditReadonly : public CEdit
{
// Construction
public:
CEditReadonly(COLORREF const& rclrText=RGB(0,0,0), COLORREF const& rclrBkgnd=RGB(255,255,255));
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditReadonly)
//}}AFX_VIRTUAL
// Implementation
public:
//Setting the Background Color
void SetBkColor(COLORREF const& roBkColor);
~CEditReadonly();
// Generated message map functions
protected:
//{{AFX_MSG(CEditReadonly)
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
COLORREF m_clrText;
COLORREF m_clrBkgnd;
CBrush m_brBkgnd;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EDITREADONLY_H__4749FA48_D773_11D5_9E4C_00E0296C853D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -