LEGOIslandRebuilder/ext/PropertyGrid/test/CustomTreeCtrl.h

33 lines
558 B
C
Raw Normal View History

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