#ifndef T2DLL_T2DLGITEMTAB_H #define T2DLL_T2DLGITEMTAB_H #include "../common.h" #include "T2DlgItem.h" class CustomTabControl; class AFX_CLASS_EXPORT T2DlgItemTab : public T2DlgItem { public: T2DlgItemTab(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2DlgItemTab(); virtual int OnT2DlgItemCreate(CREATESTRUCT* cs); virtual void SetFont(HFONT inFont); virtual void CreateSubItem(void* inData); virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); protected: virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC); CustomTabControl *mSubItem; }; #endif