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

21 lines
397 B
C++

#pragma once
#include "..\customitem.h"
#include "CustomTreeCtrl.h"
class CTreeItem :
public ICustomItem
{
public:
CTreeItem(void);
~CTreeItem(void);
virtual CPropertyGrid::EEditMode GetEditMode();
virtual void DrawItem(CDC& dc, CRect rc, bool focused);
virtual void ShowDropDown(CRect rc);
void SetValue(string value);
protected:
string m_value;
CCustomTreeCtrl* m_tree;
};