CFileFind ff;
BOOL res=ff.FindFile(currentpath+_T(" //NumberModules//*.*"));
while(res)
{
res=ff.FindNextFile();
CString valItem;
valItem.Format(_T("NumberModules//%s"),ff.GetFileName());
if(ff.IsDirectory()&&(!ff.IsDots()))
m_numbermodule.InsertString(index++,valItem);
}
ff.Close();
BOOL res=ff.FindFile(currentpath+_T(" //NumberModules//*.*"));
while(res)
{
res=ff.FindNextFile();
CString valItem;
valItem.Format(_T("NumberModules//%s"),ff.GetFileName());
if(ff.IsDirectory()&&(!ff.IsDots()))
m_numbermodule.InsertString(index++,valItem);
}
ff.Close();
1332

被折叠的 条评论
为什么被折叠?



