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

📄 toolbarex.h

📁 OPC Client 源代码
💻 H
字号:
#if !defined(AFX_TOOLBAREX_H__7F634227_9811_4C48_A18D_5D6C640DC6CB__INCLUDED_)
#define AFX_TOOLBAREX_H__7F634227_9811_4C48_A18D_5D6C640DC6CB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ToolBarEx.h : header file
//
/////////////////////////////////////////////////////////////////////////////
//CToolBarEx:真彩色工具栏
/////////////////////////////////////////////////////////////////////////////
// CToolBarEx window

class CToolBarEx : public CToolBar
{
// Construction
public:
	CToolBarEx();
	virtual ~CToolBarEx();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CToolBarEx)
	//}}AFX_VIRTUAL

// Implementation
public:
	BOOL CreateHotToolBar(CWnd* pParentWnd,LPCTSTR lpszResName,LPCTSTR lpszHotResName);
	void SetBlackMask(COLORREF   crMask);
	BOOL LoadToolBar(LPCTSTR lpszResourceName);
	BOOL LoadToolBar(UINT nIDResource);
	void SetButtonText(const CStringArray& strArr);
	void LoadBitmap(UINT *pnIDBmp,UINT nCount,CSize sizeBmp);
	BOOL LoadBitmap(LPCTSTR lpszResourceName,BOOL bHot);
	// Generated message map functions
protected:
	BOOL LoadBitmap(LPCTSTR lpszResourceName);
	//{{AFX_MSG(CToolBarEx)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
//
	CSize m_nSizeImage;
	CImageList m_cImageList;
	COLORREF   m_crMask;		//背景色

};

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

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

#endif // !defined(AFX_TOOLBAREX_H__7F634227_9811_4C48_A18D_5D6C640DC6CB__INCLUDED_)

⌨️ 快捷键说明

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