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

📄 ulexplorerview.h

📁 类似Linux操作系统0.11版文件系统的文件系统设计和Windows下的操作程序
💻 H
字号:
// ShortcutBarView.h : interface of the CULExplorerView class
//
/////////////////////////////////////////////////////////////////////////////
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <XTPIncludes.h>
#include "MainFrm.h"

class CULExplorerDoc;
class CULExplorerView : public CView
{
protected: // create from serialization only
	CULExplorerView();
	DECLARE_DYNCREATE(CULExplorerView)

protected:
	CXTListCtrl m_ShellList;
	CImageList m_ImageListIcons;

	CXTTreeCtrl* m_pTreeFolders;
	CShortcutPaneFolders* m_pPaneFolders;

	CArray<FIND_DATA> m_FileArray;

	CFont m_Font;
// Attributes
public:
	CULExplorerDoc* GetDocument();
	CXTListCtrl* GetListCtrl()
	{
		return &m_ShellList;
	}
	void SetFoldersPane(CShortcutPaneFolders* pPane)
	{
		m_pPaneFolders = pPane;
	}

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CULExplorerView)
	public:
//	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CULExplorerView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDoubleClickList(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnRightClickList(NMHDR *pNMHDR, LRESULT *pResult);
	
	virtual void OnInitialUpdate();

	void ShowDentryList(CString PathName);
protected:
	virtual void OnDraw(CDC* /*pDC*/);
public:
	afx_msg void OnMenuNewdentry();
	afx_msg void OnMenuNewfile();
	afx_msg void OnFileOpen();
	afx_msg void OnFileCut();
	afx_msg void OnFileCopy();
	afx_msg void OnFileRename();
	afx_msg void OnFileDelete();
	void ReShowDentryList(void);
	afx_msg void OnMenuImport();
	afx_msg void OnMenuOutport();
	afx_msg void OnDentryOpen();
	afx_msg void OnDentryRename();
	afx_msg void OnDentryDelete();
	BOOL IsExist(CString Path);
	void ClearAll(void);
	void Delete(void);
	afx_msg void OnMenuExecute();
};

⌨️ 快捷键说明

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