📄 3dtextbutton.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -