⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leftpaneview.h

📁 功能进化对于设计人员来说有着及其重要的作用
💻 H
字号:
#if !defined(AFX_LEFTPANEVIEW_H__48656AFA_EB11_4CAF_8E07_AFAE446486E6__INCLUDED_)
#define AFX_LEFTPANEVIEW_H__48656AFA_EB11_4CAF_8E07_AFAE446486E6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LeftPaneView.h : header file
//


/////////////////////////////////////////////////////////////////////////////
// CLeftPaneView view
#include <afxcview.h>
class CLeftPaneView : public CTreeView
{
public:
	CLeftPaneView(); 
	~CLeftPaneView();// protected constructor used by dynamic creation
	
	DECLARE_DYNCREATE(CLeftPaneView)

// Attributes
public:
	CImageList m_ImageList;
//	int num_child;

// Operations
public:
	int GetLevel(const HTREEITEM htim);	//得到第几级节点
	

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLeftPaneView)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
//protected:
	//virtual ~CLeftPaneView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CLeftPaneView)
	afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDelete();
	afx_msg void OnEdit();
	afx_msg void OnInsertAfter();
	afx_msg void OnInsertBefore();
	afx_msg void OnInsertFather();
	afx_msg void OnInsertSun();
	afx_msg void OnEndlabeledit(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void Ontreetest();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LEFTPANEVIEW_H__48656AFA_EB11_4CAF_8E07_AFAE446486E6__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -