blob: 5c95ad246d0e8d76eb983489ddad324ffb4f9c1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "common.h"
#include "T2DlgItem.h"
class AFX_CLASS_EXPORT T2DlgItemEdit : public T2DlgItem {
public:
T2DlgItemEdit(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette);
virtual ~T2DlgItemEdit();
virtual void SetFont(HFONT inFont);
virtual void CreateSubItem(void* inData);
virtual void GetDescriptor(CString& outStr) const;
virtual void SetDescriptor(const CString& inStr);
virtual int GetValue();
virtual void SetValue(int inValue);
virtual void OnT2SetFocus(CWnd* inWnd);
virtual void OnT2KillFocus(CWnd* inWnd);
virtual void OnT2DlgItemEnable(BOOL inEnable);
void SelectAll();
protected:
virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC);
CEditWFocus *mSubItem;
};
|