📄 cefilefind.h
字号:
#ifndef _CE_FILEFIND_H_
#define _CE_FILEFIND_H_
#include "stdafx.h"
#include <afxwin.h>
class CCeFileFind
{
public:
CCeFileFind( );
~CCeFileFind();
public:
void Close();
virtual BOOL FindNextFile( );
virtual BOOL FindFile( LPCTSTR pstrName = NULL);
public:
DWORD GetLength() const;
CString GetFileName() const;
CString GetFilePath() const;
CString GetRoot() const;
virtual BOOL GetCreationTime( FILETIME* pFileTime ) const;
virtual BOOL GetCreationTime( CTime& refTime ) const;
virtual BOOL GetLastAccessTime( CTime& refTime ) const;
virtual BOOL GetLastAccessTime( FILETIME* pFileTime ) const;
virtual BOOL GetLastWriteTime( FILETIME* pFileTime ) const;
virtual BOOL GetLastWriteTime( CTime& refTime ) const;
virtual BOOL MatchesMask( DWORD dwMask ) const;
virtual BOOL IsDots( ) const;
BOOL IsReadOnly( ) const;
BOOL IsDirectory( ) const;
BOOL IsCompressed( ) const;
BOOL IsSystem( ) const;
BOOL IsHidden( ) const;
BOOL IsTemporary( ) const;
BOOL IsNormal( ) const;
BOOL IsArchived( ) const;
private:
char m_chDirSeparator;
CString m_csRoot;
HANDLE m_hFileHandle;
WIN32_FIND_DATA *m_pfiledata;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -