www.pudn.com > TreeAndList.rar > LeftView.h
#if !defined(AFX_LEFTVIEW_H__8C0908F6_B60D_4ED2_9C79_F9E926E0EFF5__INCLUDED_)
#define AFX_LEFTVIEW_H__8C0908F6_B60D_4ED2_9C79_F9E926E0EFF5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LeftView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLeftView view
//shuangquan@@@@ 包含进treeandlistview头文件
#include "TreeAndListView.h"
class CLeftView : public CTreeView
{
protected:
CLeftView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CLeftView)
// Attributes
//shuangquan@@@@@@ 包含进视图类的使其成为一个成员
protected:
CTreeAndListView* m_li;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLeftView)
/*
*自己添加的函数
*/
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CLeftView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CLeftView)
// NOTE - the ClassWizard will add and remove member functions here.
/*afx_msg*/ void selectChangeListView(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_LEFTVIEW_H__8C0908F6_B60D_4ED2_9C79_F9E926E0EFF5__INCLUDED_)