colorrichedit.h

来自「一个非常好的词法分析程序,加上语法的分析是一个难得一见的好实例」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_COLOREDIT_H__F48CB3C3_AFAC_4AF7_8387_34D254A31611__INCLUDED_)
#define AFX_COLOREDIT_H__F48CB3C3_AFAC_4AF7_8387_34D254A31611__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorEdit.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CColorRichEdit window

#include "Resource.h"
#include "BCMenu.h"

class CColorRichEdit : public CRichEditCtrl
{
// Construction
public:
	CColorRichEdit();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CColorRichEdit)
	protected:
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CColorRichEdit();

protected:
	HBRUSH m_bkBrush;

	// Generated message map functions
protected:
	//{{AFX_MSG(CColorRichEdit)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnClear();
	afx_msg void OnHideOutbar();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COLOREDIT_H__F48CB3C3_AFAC_4AF7_8387_34D254A31611__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?