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

📄 3dtextbtn.h

📁 不可多得的例程资源
💻 H
字号:
#if !defined(AFX_3DTEXTBTN_H__E9BD0842_673E_11D4_BD73_000021479D21__INCLUDED_)
#define AFX_3DTEXTBTN_H__E9BD0842_673E_11D4_BD73_000021479D21__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// C3DTextBtn window

class C3DTextBtn : public CButton
{
     bool m_bUse3D;
public:
     C3DTextBtn() : m_bUse3D(true) {}

     void Use3D(bool bUse3D=true) { m_bUse3D = bUse3D; }

protected:
     void Draw(CDC* pDC, const CRect& rect, UINT state);
     //{{AFX_MSG(C3DTextBtn)
     afx_msg void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
     //}}AFX_MSG
     //{{AFX_VIRTUAL(C3DTextBtn)
     virtual void PreSubclassWindow();
     //}}AFX_VIRTUAL
     DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_3DTEXTBTN_H__E9BD0842_673E_11D4_BD73_000021479D21__INCLUDED_)

⌨️ 快捷键说明

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