📄 fcfilefind.htm
字号:
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<title>FCFileFind</title>
</head>
<body bgcolor="#ffffe7" lang=ZH-CN style='tab-interval:21.0pt'>
<h2 align="center"><b><font color="#FF0000">FCFileFind类</font></b></h2>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#D0FFE0">
<tr>
<td rowspan="2">文件位置:</td>
<td width="85%"><font color="#FF0000">\FLib\Include\FileFind.h</font></td>
</tr>
<tr>
<td width="85%"><font color="#FF0000">\FLib\Source\FileFind.cpp</font></td>
</tr>
<tr>
<td>使用方法:</td>
<td width="85%" height="19"><font color="#FF0000">#include "fool.h"</font></td>
</tr>
</table>
<h2><font color="#FF0000"><b>成员函数(Member Functions):</b></font></h2>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#CCFFFF">
<tr>
<td colspan="2">
<p align="center"><font color="#FF0000"><b>一般操作</b></font></p>
</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">BOOL FindFile (PCTSTR szPathName)</font></td>
<td width="62%">之后调用<font color="#FF0000">IsNoPath()</font>判断是否存在给定路径。</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">BOOL FindNext ( )</font></td>
<td width="62%"> </td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">bool IsDirectory ( ) const</font></td>
<td width="62%"> </td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">bool IsNoMore ( ) const</font></td>
<td width="62%">为true,则无更多匹配。</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">void FindClose( )</font></td>
<td width="62%"> </td>
</tr>
<tr>
<td width="38%"> </td>
<td width="62%"> </td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">bool IsExistFile (PCTSTR szPathName)</font></td>
<td width="62%"> </td>
</tr>
</table>
<br>
<br>
<table width="85%" border="1" bordercolor="#3399FF" align="center" cellpadding="0" bgcolor="#CCFFFF">
<tr>
<td colspan="2">
<p align="center"><font color="#FF0000"><b>获取属性</b></font></p>
</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">DWORD GetSize ( ) const</font></td>
<td width="62%">文件大小。</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">DWORD GetAttribute ( ) const</font></td>
<td width="62%">FILE_ATTRIBUTE_ARCHIVE<br>
FILE_ATTRIBUTE_DIRECTORY<br>
FILE_ATTRIBUTE_HIDDEN<br>
FILE_ATTRIBUTE_NORMAL<br>
FILE_ATTRIBUTE_READONLY<br>
FILE_ATTRIBUTE_SYSTEM<br>
FILE_ATTRIBUTE_TEMPORARY </td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">PCTSTR GetFullName ( ) const</font></td>
<td width="62%">全文件名。 C:\Pic\Bmp\Car.bmp</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">PCTSTR GetDriver ( )</font></td>
<td width="62%">盘符。 C:</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">PCTSTR GetPath ( )</font></td>
<td width="62%">路径。 \Pic\bmp\</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">PCTSTR GetFileName ( )</font></td>
<td width="62%">不带路径和扩展名的文件名。 Car</td>
</tr>
<tr>
<td width="38%"><font color="#FF0000">PCTSTR GetExtName ( )</font></td>
<td width="62%">扩展名。 .bmp</td>
</tr>
</table>
<br>
<br>
<h2 align="center"><img src="stripe.gif" width="94%" height="2"><br>
</h2>
<table align=center bgcolor=ghostwhite border=0 cellpadding=0 cellspacing=0
width=650>
<tbody>
<tr>
<td width="85%">
<p align=center>版权所有 <br>
(C)1999 - 2002 付黎<br>
<a href="mailto:crazybit@263.net">给我发信</a> <a
href="javascript:window.close()">关闭窗口</a> </p>
</td>
</tr>
</tbody>
</table>
<h2> </h2>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -