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

📄 fileinfo.h

📁 模拟迅雷的下载工具软件
💻 H
字号:
// FileInfo.h: interface for the CFileInfo class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FILEINFO_H__8B765381_0FC2_11D9_95EE_00E04CB2B956__INCLUDED_)
#define AFX_FILEINFO_H__8B765381_0FC2_11D9_95EE_00E04CB2B956__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//作者:孟庆远

class CFileInfo  
{
public:
	CFileInfo();
	CFileInfo(LPCTSTR lpszFileName);
	virtual ~CFileInfo();
public:
	BOOL BrowseForFolder(CWnd *pParentWnd);
	CString GetFileName();
	CString GetRoot();
	CString GetFileTitle();
	CString GetDescription();
	BOOL Exist();
	int GetIconIndex();
	CString GetDisplayName();
	CString GetLastWriteTime();
	CString GetFileSize();
	void GetSystemImageList(CImageList *pSmallList,CImageList *pLargeList);
	static int  CALLBACK BrowseCallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
public:
	int m_iImageIndex;
	CString m_strPath;
	CString m_strInitDir;
	CString m_strSelDir;
	CString m_strTitle;
protected:
	CFileFind *m_pFoundFile;
	CString m_strFileName;
	char m_szDrive[_MAX_DRIVE];
	char m_szDir[_MAX_DIR];
	char m_szFname[_MAX_FNAME];
	char m_szExt[_MAX_EXT];
};

#endif // !defined(AFX_FILEINFO_H__8B765381_0FC2_11D9_95EE_00E04CB2B956__INCLUDED_)

⌨️ 快捷键说明

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