ft-> Cells [ColAttrib] [i] = " 0";
Form1-> FileListLeft-> Cells [ColCreTime] [i] = " 0";
Form1-> FileListLeft-> Cells [ColAccTime] [i] = " 0";
Form1-> FileListLeft-> Cells [ColWriTime] [i] = " 0";
}
if (i> 1) Form1-> FileListLeft-> RowCount = Form1-> FileListLeft-> RowCount-1;
}
else// Якщо активна права панель
{//(аналогічно лівій панелі)
iter = DequeFindRight.begin ();
Form1-> FileListRight-> RowCount = 2;
while (iter! = DequeFindRight.end ())
{
StructFindTemp = * iter;
if (DirAttribSet.count (StructFindTemp.dwFileAttributes))
{
StrucFindToFileProp (StructFindTemp, FileProperty);
Form1-> FileListRight-> Cells [ColName] [i] = FileProperty.FileName;
Form1-> FileListRight-> Cells [ColSize] [i] = FileProperty.FileSizeKb;
Form1-> FileListRight-> Cells [ColAttrib] [i] = FileProperty.FileAttrib;
Form1-> FileListRight-> Cells [ColCreTime] [i] = FileProperty.CreateTime;
Form1-> FileListRight-> Cells [ColAccTime] [i] = FileProperty.AccessTime;
Form1-> FileListRight-> Cells [ColWriTime] [i] = FileProperty.WriteTime;
Form1-> FileListRight-> RowCount = Form1-> FileListRight-> RowCount +1;
i + +;
}
iter + +;
}
В
iter = DequeFindRight.begin ();
while (iter! = DequeFindRight.end ())
{
StructFindTemp = * iter;
if (DirAttribSet.count (StructFindTemp.dwFileAttributes) == 0)
{
StrucFindToFileProp (* iter, FileProperty);
Form1-> FileListRight-> Cells [ColName] [i] = FileProperty.FileName;
Form1-> FileListRight-> Cells [ColSize] [i] = FileProperty.FileSizeKb;
Form1-> FileListRight-> Cells [ColAttrib] [i] = FileProperty.FileAttrib;
Form1-> FileListRight-> Cells [ColCreTime] [i] = FileProperty.CreateTime;
Form1-> FileListRight-> Cells [ColAccTime] [i] = FileProperty.AccessTime;
Form1-> FileListRight-> Cells [ColWriTime] [i] = FileProperty.WriteTime;
Form1-> FileListRight-> RowCount = Form1-> FileListRight-> RowCount +1;
i + +;
}
iter + +;
}
if (i == 1)
{
Form1-> FileListRight-> Cells [ColName] [i] = " 0";
Form1-> FileListRight-> Cells [ColSize] [i] = " 0";
Form1-> FileListRight-> Cells [ColAttrib] [i] = " 0";
Form1-> FileListRight-> Cells [ColCreTime] [i] = " 0";
Form1-> FileListRight-> Cells [ColAccTime] [i] = " 0";
Form1-> FileListRight-> Cells [ColWriTime] [i] = " 0";
}
if (i> 1) Form1-> FileListRight-> RowCount = Form1-> FileListRight-> RowCount-1;
}
}
// --------------------------------------------- ---------------------------------
// Оброблювач відкриття папки або файлу
AnsiString HandlerOfOpen (AnsiString ...