clistctrl – 青春部落,流年似水 http://www.youthtribe.com 青春是一场远行,总记不起来时的路。 Fri, 10 May 2013 09:10:13 +0000 zh-CN hourly 1 https://wordpress.org/?v=6.1.7 clistctrl – 青春部落,流年似水 http://www.youthtribe.com/archives/869 http://www.youthtribe.com/archives/869#respond Fri, 10 May 2013 09:10:13 +0000 http://www.shizhiyou.com/blog/?p=869 vc++ clistctrl得到当前选中行

有的东西啊,就是记不住,时间一久就会忘。关键是有个文本记下。这才是关键。

如题,上代码:

int cursel=m_CtrlLCDataset.GetNextItem(-1,LVNI_ALL|LVNI_SELECTED);
if(cursel==-1)
{
;//MessageBox(L”尚未选择任何一条记录”);
}
else
{
m_CtrlLCDataset.DeleteItem(cursel);
//MessageBox(“删除成功!”);
}

 

]]>
http://www.youthtribe.com/archives/869/feed 0