HTREEITEM hItem = hParent;
HTREEITEM hSubItem;
BOOL ret ;
if (sDirectory.IsEmpty())
ret = Find.FindFile(NULL,INTERNET_FLAG_EXISTING_CONNECT);
else
ret = Find.FindFile(sDirectory,INTERNET_FLAG_EXISTING_CONNECT);
CString filename ;
if (ret)
{
while (Find.FindNextFile())
{
filename = Find.GetFileName();
hSubItem = pTree->InsertItem(filename,0,0, hParent);