3dtextbutton.h

来自「VC编写的彩票分析软件源码」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_3DTEXTBUTTON_H__E90C8F20_8584_11D6_9E5A_C484B9F75E71__INCLUDED_)
#define AFX_3DTEXTBUTTON_H__E90C8F20_8584_11D6_9E5A_C484B9F75E71__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// C3DTextButton window

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

// Attributes
public:
	CString text;

// Operations
public:

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

// Implementation
public:
	int m_ColorR;
	int m_ColorG;
	int m_ColorB;
	void DrawAgin();
	UINT m_State;
	CRect m_Rect;
	CDC* m_pDC;
	virtual ~C3DTextButton();

	// Generated message map functions
protected:
	void Draw(CDC* pDC,const CRect& rect,UINT state);
	//{{AFX_MSG(C3DTextButton)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_3DTEXTBUTTON_H__E90C8F20_8584_11D6_9E5A_C484B9F75E71__INCLUDED_)

⌨️ 快捷键说明

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