LEGOIslandRebuilder/ext/PropertyGrid/test/TreeItem.h

22 lines
397 B
C
Raw Normal View History

2022-03-31 14:38:16 -04:00
#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;
};