fileinfo.h
来自「模拟迅雷的下载工具软件」· C头文件 代码 · 共 48 行
H
48 行
// 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 + =
减小字号Ctrl + -
显示快捷键?