serchdisk.h
来自「管理光盘的程序」· C头文件 代码 · 共 34 行
H
34 行
//---------------------------------------------------------------------------
// 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?