#pragma once #include "common.h" #include "T2DlgItem.h" class AFX_CLASS_EXPORT T2DlgItemProgress : public T2DlgItem { public: T2DlgItemProgress(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual ~T2DlgItemProgress(); virtual void SetFont(HFONT inFont); virtual void CreateSubItem(); virtual void SetRange(int inLower, int inUpper); virtual int SetPos(int inPos); virtual int OffsetPos(int inOffset); virtual int SetStep(int inStep); virtual int StepIt(); protected: CProgressCtrl *mSubItem; };