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

📄 dirview.h

📁 这是一款蛮COOL的图像处理系统
💻 H
字号:
#if !defined(AFX_DIRVIEW_H__4B0C2323_B1D6_463A_894B_477644183353__INCLUDED_)
#define AFX_DIRVIEW_H__4B0C2323_B1D6_463A_894B_477644183353__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DirView.h : header file
//
#include "ShellTree.h"
#include "FileView.h"
/////////////////////////////////////////////////////////////////////////////
// CDirView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CDirView : public CFormView
{
// Attributes
private:
	CShellTree	m_treeExplorer;

public:

// Operations
private:
	CFileView*	GetFileView();
	BOOL	GetItemFolderPath(CString &strFolderPath, HTREEITEM hItem);

public:
	void	ExpendItem(LPCTSTR lpszItemText);
	void	DeleteChilds(LPCTSTR lpszItemText = NULL);
	void	SetItemText(LPCTSTR lpszOldText, LPCTSTR lpszNewText);
	void	PoplateItem(LPCTSTR lpszItemText = NULL);
	void	DeleteItem(LPCTSTR lpszItemText);
	void	MoveToUpFolder();

protected:
	CDirView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CDirView)

// Form Data
public:
	//{{AFX_DATA(CDirView)
	enum { IDD = IDD_DIRVIEW };
	//}}AFX_DATA
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDirView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CDirView)
	afx_msg void OnRclickTree1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnItemexpandingTree1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDirUp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_DIRVIEW_H__4B0C2323_B1D6_463A_894B_477644183353__INCLUDED_)

⌨️ 快捷键说明

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