colorbutton.h

来自「这是我仿照串口助手(龚建伟)作的一个例子并修正了其中的一些bug」· C头文件 代码 · 共 32 行

H
32
字号
#ifndef _CCOLORBUTTON_H_
#define _CCOLORBUTTON_H_

#include "ColorControl.h"

class CColorButton : public CButton, public CColorControl
{

public:

	CColorButton();
	virtual ~CColorButton();

protected:

	//{{AFX_VIRTUAL(CColorButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
	protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL
	//{{AFX_MSG(CColorButton)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

};

#endif

⌨️ 快捷键说明

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