LEGOIslandRebuilder/ext/PropertyGrid/test/SerialItem.h

17 lines
368 B
C
Raw Normal View History

2022-03-31 14:38:16 -04:00
#pragma once
#include "..\CustomItem.h"
class CSerialItem : public ICustomItem
{
public:
CSerialItem(void);
~CSerialItem(void);
virtual CPropertyGrid::EEditMode GetEditMode();
virtual void DrawItem(CDC& dc, CRect rc, bool focused);
virtual string GetStringForInPlaceEdit();
virtual bool OnItemEdited(string strNewValue);
protected:
string m_serial;
};