?? shfileinfo.h
字號:
#ifndef __SHFILEINFO_H__
#define __SHFILEINFO_H__
/////////////////////////////////////////////////////////////////////////////
// CSHFileInfo class
class CSHFileInfo
{
// Construction
public :
CSHFileInfo (LPCTSTR lpszFileName = NULL);
CSHFileInfo (CFileFind * pFoundFile);
// Attributes
public :
int m_iImageIndex;
CString m_strPath;
CString m_strInitDir;
CString m_strSelDir;
CString m_strTitle;
protected :
CFileFind * m_pFoundFile;
CString m_strFileName;
TCHAR m_szDrive[_MAX_DRIVE];
TCHAR m_szDir[_MAX_DIR];
TCHAR m_szFname[_MAX_FNAME];
TCHAR m_szExt[_MAX_EXT];
// Operations
public :
CString GetFileSize ();
CString GetLastWriteTime ();
CString GetDisplayName ();
int GetIconIndex ();
void SetFileName (LPCTSTR lpszFileName = NULL);
CString GetFileName ();
CString GetRoot ();
CString GetFileTitle ();
CString GetFileExt ();
CString GetDescription ();
bool Exist ();
void GetSystemImageList (CImageList * pSmallList, CImageList * pLargeList);
BOOL BrowseForFolder (CWnd * pParentWnd);
// Implementation
public :
virtual ~CSHFileInfo ();
};
/////////////////////////////////////////////////////////////////////////////
#endif // __SHFILEINFO_H__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -