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

📄 iconcombobox.h

📁 基于TCP/IP的网络通信技术实现了面向连接的用户与服务器间点对点异步通信
💻 H
字号:
// IconComboBox.h : header file
//

#ifndef _ICONCOMBOBOX_H_
#define _ICONCOMBOBOX_H_

//////////////////////////////////////////////////////
//                                                  //
//                   CIconComboBox                  //
//                                                  //
// Copyright (c) Joel Wahlberg ENATOR Networks 1997 //
//               joel.wahlberg@enator.se            //
//                                                  //
//////////////////////////////////////////////////////

class CIconComboBox : public CComboBox
{
// Contruction/Destruction
public:
	CIconComboBox();
	virtual ~CIconComboBox();

// Attributes
public:
	CSize m_sizeIcon;

// Operations
public:
	virtual int AddIcon(LPCTSTR lpszIconFile);
	virtual int InsertIcon(int nIndex, LPCTSTR lpszIconFile);
	virtual int SelectIcon(LPCTSTR lpszIconFile);
	virtual int SelectIcon(int nIndex);
	virtual int DeleteIcon(LPCTSTR lpszIconFile);
	virtual int DeleteIcon(int nIndex);

// Implementation
protected:
	virtual void OnOutputIcon(LPDRAWITEMSTRUCT lpDIS, BOOL bSelected);

// Overrides
	virtual int AddString(LPCTSTR lpszString);
	virtual int InsertString(int nIndex, LPCTSTR lpszString);
	virtual int DeleteString(int nIndex);
	virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMIS);
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
};

#endif // _ICONCOMBOBOX_H_

⌨️ 快捷键说明

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