⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sbutton.h

📁 利用注册表键值调用输入法
💻 H
字号:
#if !defined(AFX_SBUTTON_H__99FFBDF7_B511_4A77_B269_8A8689CB928B__INCLUDED_)
#define AFX_SBUTTON_H__99FFBDF7_B511_4A77_B269_8A8689CB928B__INCLUDED_

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

#define ID_RED 2001
#define ID_GREEN 2002
// Sbutton.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSbutton window

class CSbutton : public CStatic
{
// Construction
public:
	CSbutton();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSbutton)
	//}}AFX_VIRTUAL

// Implementation
public:
	CFont m_font;
	void Drawed(CWnd *pWnd , int bg_color_ref, CString str);
	void Set(CWnd *pWnd , int bg_color_ref, CString str);
	BOOL bActive;
	CString m_str;
	virtual ~CSbutton();

	// Generated message map functions
protected:
	CWnd * m_pWnd;
	RECT rc;
	int BG_COLOR_REF;
//	CPen m_PenBright;
	CBrush m_Brush;

	//{{AFX_MSG(CSbutton)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_SBUTTON_H__99FFBDF7_B511_4A77_B269_8A8689CB928B__INCLUDED_)

⌨️ 快捷键说明

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