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

📄 roundbmpbutton.h

📁 完整的MP3播放器源码
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
//CopyRight by zhang xiu yong 
//1999.04
//e-mail:zxc.marksoft@usa.net
/////////////////////////////////////////////////////////////////////////////


// RoundBmpButton.h: interface for the CRoundBitmapButton class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ROUNDBMPBUTTON_H__B30E61F2_157E_11D2_9AB5_0060B0CDC13E__INCLUDED_)
#define AFX_ROUNDBMPBUTTON_H__B30E61F2_157E_11D2_9AB5_0060B0CDC13E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "RoundButton.h"

class CRoundBitmapButton : public CRoundButton  
{
	HICON	m_hIcon;
	CSize	m_SizeIcon;

public:
	CRoundBitmapButton();
	virtual ~CRoundBitmapButton();

	BOOL	SetIcon(LPCTSTR pszResource, const CSize & size = CSize(0,0));
	BOOL	SetIcon(UINT uResource, const CSize & size = CSize(0,0)) {
				return SetIcon(MAKEINTRESOURCE(uResource), size);
			}

	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);

protected:
	//{{AFX_MSG(CRoundButton)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP();
};

#endif // !defined(AFX_ROUNDBMPBUTTON_H__B30E61F2_157E_11D2_9AB5_0060B0CDC13E__INCLUDED_)

⌨️ 快捷键说明

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