www.pudn.com > AccessADO.rar > LeftBar.h


#if !defined(AFX_LEFTBAR_H__3D24171B_D914_44FB_BBC2_EA846EB39046__INCLUDED_) 
#define AFX_LEFTBAR_H__3D24171B_D914_44FB_BBC2_EA846EB39046__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// LeftBar.h : header file 
// 
#include "CoolControlBar.h" 
///////////////////////////////////////////////////////////////////////////// 
// CLeftBar window 
class CAccessDoc; 
 
class CLeftBar : public CCoolControlBar 
{ 
// Construction 
public: 
	CLeftBar(); 
 
// Attributes 
public: 
	CTreeCtrl m_ctrlTree; 
	CImageList m_imagelist; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CLeftBar) 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void InitTree(); 
	CAccessDoc* GetDocument(); 
	virtual ~CLeftBar(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CLeftBar) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	//}}AFX_MSG 
 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_LEFTBAR_H__3D24171B_D914_44FB_BBC2_EA846EB39046__INCLUDED_)