www.pudn.com > CurveEditor.rar > ObjectsTree.h


#if !defined(AFX_OBJECTSTREE_H__155623E1_8C55_11D3_B0AA_0000B436C984__INCLUDED_) 
#define AFX_OBJECTSTREE_H__155623E1_8C55_11D3_B0AA_0000B436C984__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// ObjectsTree.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CObjectsTree view 
#include  
#include "UIStructure.h" 
 
class CObjectsTree : public CTreeView 
{ 
protected: 
	CObjectsTree();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CObjectsTree) 
 
// Attributes 
public: 
  
// Operations 
public: 
	LONG OnCurveEditorViewNotify(WPARAM wParam, LPARAM lParam); 
	void Entry(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CObjectsTree) 
	public: 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint); 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// protected data 
protected: 
	HTREEITEM m_ahItemCurve[2]; 
 
// Implementation 
protected: 
	virtual ~CObjectsTree(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CObjectsTree) 
	afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_OBJECTSTREE_H__155623E1_8C55_11D3_B0AA_0000B436C984__INCLUDED_)