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

📄 ~transbutton.~h

📁 实时监控
💻 ~H
字号:
#if !defined(AFX_TRANSBUTTON_H__D47BAF20_456E_4464_9741_D91D0D5F4D96__INCLUDED_)
#define AFX_TRANSBUTTON_H__D47BAF20_456E_4464_9741_D91D0D5F4D96__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTransButton window

class CTransButton : public CButton
{
	COLORREF clbk;
	COLORREF cltxt;
	COLORREF clfr;
	COLORREF clfocus;
	COLORREF cldef;

	bool def_btn;
	bool in;
	
	void paintbk();
// Construction
public:
	CTransButton();

// Attributes
public:
	void set_bk(COLORREF bk);

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTransButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTransButton();

	// Generated message map functions
protected:
	//{{AFX_MSG(CTransButton)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_TRANSBUTTON_H__D47BAF20_456E_4464_9741_D91D0D5F4D96__INCLUDED_)

⌨️ 快捷键说明

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