www.pudn.com > DandD.zip > LeftTree.h


#if !defined(AFX_LEFTTREE_H__92DCBD15_DD48_11D3_B712_00A40080D29C__INCLUDED_) 
#define AFX_LEFTTREE_H__92DCBD15_DD48_11D3_B712_00A40080D29C__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
// LeftTree.h : header file 
// 
#include   
#include "DropSource.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CLeftTree view 
 
class CLeftTree : public CTreeView 
{ 
protected: 
	CLeftTree();           // protected constructor used by dynamic creation 
 	DECLARE_DYNCREATE(CLeftTree) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CLeftTree) 
	public: 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CLeftTree(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CLeftTree) 
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	CDropSource m_DropSource; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_LEFTTREE_H__92DCBD15_DD48_11D3_B712_00A40080D29C__INCLUDED_)