summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemTab.h
blob: 9d43a7c67eb84d0ec978ae8b23d700c1eebd93e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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