filetree.h

来自「所有压缩格式的压缩解压缩。」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_FILETREE_H__E50FC20D_CBBE_45AA_803F_EFFF3B669E1D__INCLUDED_)
#define AFX_FILETREE_H__E50FC20D_CBBE_45AA_803F_EFFF3B669E1D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFileTree window

class CFileTreeView : public CCJControlBar
{
// Construction
public:
	CFileTreeView();

// Attributes
public:
	CTreeCtrl	m_TreeCtrl;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileTree)
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetCurFolder(LPCTSTR lpszFolder);
	CString GetCurFolder();
	void DeleteTree(){m_TreeCtrl.DeleteAllItems();}
	void LoadTree();
	void ReloadTree(){DeleteTree();LoadTree();}
	virtual ~CFileTreeView();

	// Generated message map functions
protected:
	//{{AFX_MSG(CFileTree)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void AddNode(LPCTSTR,int,int);
};

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

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

#endif // !defined(AFX_FILETREE_H__E50FC20D_CBBE_45AA_803F_EFFF3B669E1D__INCLUDED_)

⌨️ 快捷键说明

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