📄 filetree.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -