文件名称:vc21487899244
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:40.6kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
主要源码:
void CFDlg::OnChangeEdit1()
{
UpdateData()
m_strExt.MakeUpper()
m_list.ResetContent()
if(m_strExt.GetLength()==0) return
CStdioFile sf
if(sf.Open(\"FileExt.txt\",Cfile::modeRead))
{
CString strTemp,strOut
while(sf.ReadString(strTemp))
{
if(strTemp.Left(m_strExt.GetLength()) ==m_strExt)
{
m_list.AddString(strTemp)
}
}
}
sf.Close()
m_list.SetCurSel(0)
this->OnSelchangeList2()
}
void CFDlg::OnSelchangeList2()
{
CString strTemp,strExt
m_list.GetText(m_list.GetCurSel(),strTemp)
strExt=strTemp.Left(strTemp.FindOneOf(\" \")) //MessageBox(strExt)
CString strFileName =\"eee.\"+strExt //MessageBox(strFileName)
SHFILEINFO shfi
memset(&shfi,0,sizeof(shfi)) //或者ZeroMemory(&shfi,sizeof(shfi))
::SHGetFileInfo(strFileName,
FILE_ATTRIBUTE_NORMAL,
&shfi,
sizeof(shfi),
SHGFI_ICON|SHGFI_USEFILEATTRIBUTES)
m_icon.SetIcon(shfi.hIcon)
}
void CFDlg::OnChangeEdit1()
{
UpdateData()
m_strExt.MakeUpper()
m_list.ResetContent()
if(m_strExt.GetLength()==0) return
CStdioFile sf
if(sf.Open(\"FileExt.txt\",Cfile::modeRead))
{
CString strTemp,strOut
while(sf.ReadString(strTemp))
{
if(strTemp.Left(m_strExt.GetLength()) ==m_strExt)
{
m_list.AddString(strTemp)
}
}
}
sf.Close()
m_list.SetCurSel(0)
this->OnSelchangeList2()
}
void CFDlg::OnSelchangeList2()
{
CString strTemp,strExt
m_list.GetText(m_list.GetCurSel(),strTemp)
strExt=strTemp.Left(strTemp.FindOneOf(\" \")) //MessageBox(strExt)
CString strFileName =\"eee.\"+strExt //MessageBox(strFileName)
SHFILEINFO shfi
memset(&shfi,0,sizeof(shfi)) //或者ZeroMemory(&shfi,sizeof(shfi))
::SHGetFileInfo(strFileName,
FILE_ATTRIBUTE_NORMAL,
&shfi,
sizeof(shfi),
SHGFI_ICON|SHGFI_USEFILEATTRIBUTES)
m_icon.SetIcon(shfi.hIcon)
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cvery.comvc21487899244/res
cvery.comvc21487899244/F.APS
cvery.comvc21487899244/F.clw
cvery.comvc21487899244/F.cpp
cvery.comvc21487899244/FDlg.cpp
cvery.comvc21487899244/StdAfx.cpp
cvery.comvc21487899244/F.dsp
cvery.comvc21487899244/F.dsw
cvery.comvc21487899244/查询扩展名.exe
cvery.comvc21487899244/F.h
cvery.comvc21487899244/FDlg.h
cvery.comvc21487899244/Resource.h
cvery.comvc21487899244/StdAfx.h
cvery.comvc21487899244/下载说明.htm
cvery.comvc21487899244/res/F.ico
cvery.comvc21487899244/F.rc
cvery.comvc21487899244/res/F.rc2
cvery.comvc21487899244/FileExt.txt
cvery.comvc21487899244
www.dssz.com.txt
cvery.comvc21487899244/F.APS
cvery.comvc21487899244/F.clw
cvery.comvc21487899244/F.cpp
cvery.comvc21487899244/FDlg.cpp
cvery.comvc21487899244/StdAfx.cpp
cvery.comvc21487899244/F.dsp
cvery.comvc21487899244/F.dsw
cvery.comvc21487899244/查询扩展名.exe
cvery.comvc21487899244/F.h
cvery.comvc21487899244/FDlg.h
cvery.comvc21487899244/Resource.h
cvery.comvc21487899244/StdAfx.h
cvery.comvc21487899244/下载说明.htm
cvery.comvc21487899244/res/F.ico
cvery.comvc21487899244/F.rc
cvery.comvc21487899244/res/F.rc2
cvery.comvc21487899244/FileExt.txt
cvery.comvc21487899244
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.