SerchDisk.h
资源名称:cd_man.zip [点击查看]
上传用户:deyixm
上传日期:2007-01-06
资源大小:43k
文件大小:1k
源码类别:
行业应用
开发平台:
Visual C++
- //---------------------------------------------------------------------------
- // ClassExplorer Pro generated header file
- // Created by 颜承 on 99-11-24, 17:28:33
- // TSerchDisk 用递归法搜索磁盘目录的类
- //---------------------------------------------------------------------------
- #ifndef SerchDiskH
- #define SerchDiskH
- #include <vcl.h>
- //---------------------------------------------------------------------------
- class TSerchDisk {
- private:
- int FFilterCount; //条件个数
- bool IsAll; //是否搜索全部文件
- AnsiString FPathName; //搜索起始目录
- TStringList * FFileList; //搜索结果列表
- void __fastcall FindDisk(AnsiString PathName); //递归函数
- protected:
- public:
- AnsiString FilterString[16]; //条件数组
- bool AddDir; //是否搜索目录
- int __fastcall Serch(); //搜索
- __fastcall TSerchDisk();
- __fastcall ~TSerchDisk();
- __property int FilterCount = { read = FFilterCount, write = FFilterCount };
- __property AnsiString PathName = { read = FPathName, write = FPathName };
- __property TStringList * FileList = { read = FFileList };
- //__published:
- };
- //---------------------------------------------------------------------------
- #endif