Posted on 2013-03-19 10:34
盛胜 阅读(162)
评论(0) 编辑 收藏 引用
// std::map<std::string ,DataInfo>::iterator iter = m_ImageInfoList.begin();
//
// while (iter!=m_ImageInfoList.end())
// {
// CString pathArchiveTemp,pathImageTemp,ImagePath;
// pathImageTemp = iter->second.strPath.c_str();
// pathArchiveTemp = m_DosImage.m_archive.strPath.c_str();
// ImagePath = pathArchiveTemp + pathImageTemp;
// m_DosImage.m_ImagevPath.push_back(ImagePath);
// ++iter;
//
}
CString slect_name = m_treeSource.GetItemText(selected_item);
std::string strNodeName = slect_name.GetBuffer();
slect_name.ReleaseBuffer();
,std::map<std::string DataInfo>::iterator ite=m_ImageInfoList.find(strNodeName);
if (ite != m_ImageInfoList.end())
{
CString pathArchiveTemp,pathImageTemp,ImagePath;
pathArchiveTemp = archive.strPath.c_str();
pathImageTemp = ite->second.strPath.c_str();
ImagePath = pathArchiveTemp + pathImageTemp;
}