#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