LEGOIslandRebuilder/ext/PropertyGrid/test/SerialItem.h
2022-03-31 11:38:16 -07:00

16 lines
368 B
C++

#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;
};