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


#if !defined(AFX_FAMILYTREE_H__A7B04955_8FE4_11D3_A32A_00A024931528__INCLUDED_) 
#define AFX_FAMILYTREE_H__A7B04955_8FE4_11D3_A32A_00A024931528__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
// FamilyTree.h : header file 
// 
#include  
 
 
///////////////////////////////////////////////////////////////////////////// 
// CFamilyTree view 
 
class CFamilyTree : public CTreeView 
{ 
protected: 
	CFamilyTree();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CFamilyTree) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFamilyTree) 
	public: 
	virtual void OnInitialUpdate(); 
	virtual DROPEFFECT OnDragEnter(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point); 
	virtual DROPEFFECT OnDragOver(COleDataObject* pDataObject, DWORD dwKeyState, CPoint point); 
	protected: 
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CFamilyTree(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CFamilyTree) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
		COleDropTarget DropTarget; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FAMILYTREE_H__A7B04955_8FE4_11D3_A32A_00A024931528__INCLUDED_)