gbutton.h

来自「一个简单而又高效的嵌入式操作系统.包括GUI及文件系统.仿Windows设计,类」· C头文件 代码 · 共 30 行

H
30
字号
// GButton.h: interface for the GButton class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GButton_H__BD68BF0C_C26A_4CA7_8A3F_7C64D6FEC2DC__INCLUDED_)
#define AFX_GButton_H__BD68BF0C_C26A_4CA7_8A3F_7C64D6FEC2DC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "GWnd.h"

class GButton : public GWnd  
{
public:
	void OnCreate();
	BOOL GetCheck();
	void SetCheck(BOOL bCheck);
	void DrawLinkButton();
	void DrawCheckBox();
	void DrawButton();
	void OnPaint();
	GButton();
	~GButton();
	virtual void WndProc(int nMessage, int wParam, int lParam);
};

#endif // !defined(AFX_GButton_H__BD68BF0C_C26A_4CA7_8A3F_7C64D6FEC2DC__INCLUDED_)

⌨️ 快捷键说明

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