//MyList.h #ifndef _MY_LIST_H_ #define _MY_LIST_H_ #include "stdafx.h" #define MAX_COUNT 100 class CMyBitmapList { private: L_INT m_nCount; LBitmapWindow *m_List[MAX_COUNT]; L_VOID CMyBitmapList::RemoveBitmap(L_INT nIndex); public: CMyBitmapList(); ~CMyBitmapList(); L_INT NewBitmap(); L_INT AddBitmap(L_TCHAR *pszFileName, L_INT nBitsPerPixel, L_INT nOrder); L_INT AddBitmap(LBitmapBase &MyBitmapBase); L_INT DeleteLastBitmap(); L_INT DeleteBitmap(L_INT nIndex); L_INT GetCount(); LBitmapWindow* operator[](L_INT nIndex); }; #endif //_MY_LIST_H_