blob: e6d081d123e49c7e2ce6a75d1bcd7a553481fbf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef T2DLL_T2DLGITEMLISTBOX_H
#define T2DLL_T2DLGITEMLISTBOX_H
#include "../common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2DlgItemListBox : public T2DlgItem {
public:
T2DlgItemListBox(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItemListBox();
virtual void SetFont(HFONT);
virtual void CreateSubItem();
virtual int GetCount();
virtual int ResetContent();
virtual int AddString(CString& inString);
virtual int DeleteString(unsigned int inIndex);
virtual int GetCurSel();
virtual int SetItemData(int inIndex, DWORD inData);
virtual DWORD GetItemData(int inIndex);
virtual int SetItemDataPtr(int inIndex, void* inData);
virtual void* GetItemDataPtr(int inIndex);
protected:
CListBox *mListBox;
};
#endif
|