typebutton.h

来自「电脑编程技巧和源码。很不错的。」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_TYPEBUTTON_H__7FE9AA21_F42A_11D3_AB8F_0000E85B654E__INCLUDED_)
#define AFX_TYPEBUTTON_H__7FE9AA21_F42A_11D3_AB8F_0000E85B654E__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTypeButton window

class CTypeButton : public CButton
{
// Construction
public:
	CTypeButton();

// Attributes
public:

// Operations
public:

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

// Implementation
public:
	COLORREF m_clrText;
	virtual ~CTypeButton();
	BOOL SetTextColor(COLORREF clrText);

	// Generated message map functions
protected:
	//{{AFX_MSG(CTypeButton)
	afx_msg void OnClicked();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_TYPEBUTTON_H__7FE9AA21_F42A_11D3_AB8F_0000E85B654E__INCLUDED_)

⌨️ 快捷键说明

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