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

32 lines
558 B
C++

#pragma once
#include "..\PropertyGrid.h"
class CTreeItem;
// CCustomTreeCtrl
class CCustomTreeCtrl : public CTreeCtrl
{
DECLARE_DYNAMIC(CCustomTreeCtrl)
public:
CCustomTreeCtrl();
virtual ~CCustomTreeCtrl();
CTreeItem* m_item;
protected:
DECLARE_MESSAGE_MAP()
void Validate();
public:
afx_msg UINT OnGetDlgCode();
afx_msg void OnKillFocus(CWnd* pNewWnd);
afx_msg void OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
protected:
virtual void PostNcDestroy();
};