|
// IconComboBox.h : header file
//
#ifndef _ICONCOMBOBOX_H_
#define _ICONCOMBOBOX_H_
//////////////////////////////////////////////////////
// //
// CIconComboBox //
// //
// Copyright (c) Joel Wahlberg ENATOR Networks 1997 //
// joel.wahlberg@enator.se //
// //
//////////////////////////////////////////////////////
#include "CeCombo.h"
#include "CeMisc.h"
class CeIconComboBox : public CeComboBox
{
// Contruction/Destruction
public:
CeIconComboBox();
virtual ~CeIconComboBox();
// Attributes
public:
CeSize m_sizeIcon;
HIMAGELIST m_hImageList;
// 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
public:
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_
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.