www.pudn.com > MiniFox.rar > AccMgrTreeView.h
#if !defined(AFX_ACCMGRTREEVIEW_H__3A6D1D3A_6DB4_4149_854D_19ACA59EB383__INCLUDED_)
#define AFX_ACCMGRTREEVIEW_H__3A6D1D3A_6DB4_4149_854D_19ACA59EB383__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AccMgrTreeView.h : header file
//
#include "AccTreeData.h"
typedef CTypedPtrList < CObList, CBox* > BoxList;
/////////////////////////////////////////////////////////////////////////////
// CAccMgrTreeView view
class CAccMgrTreeView : public CTreeView
{
protected:
CAccMgrTreeView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CAccMgrTreeView)
// Attributes
public:
// Operations
public:
void InsertChildBoxes( HTREEITEM hParent, BoxList& rBoxList );
CImageList m_imageList;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAccMgrTreeView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CAccMgrTreeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CAccMgrTreeView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ACCMGRTREEVIEW_H__3A6D1D3A_6DB4_4149_854D_19ACA59EB383__INCLUDED_)