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