void OnBnClickedBtnOpenUrl()
{
CString strIp;
int nSel = m_lv_search_result.GetCurSel();
if(nSel>=0){
m_lv_search_result.GetText(nSel, strIp);
}
else
{
MessageBox("请选择一行",0,MB_OK);
return;
}
system(str);
}
{
CString strIp;
int nSel = m_lv_search_result.GetCurSel();
if(nSel>=0){
m_lv_search_result.GetText(nSel, strIp);
}
else
{
MessageBox("请选择一行",0,MB_OK);
return;
}
CString str;
//打开ie进程
str.Format("start iexplore %s",strIp);system(str);
}