mfc-clistctrl-getfirstselectedite getfirstselectedite
MFC-CListCtrl-GetFirstSelectedItemPosition获取第一个选定项的位置
POSITION pos = mylist4.GetFirstSelectedItemPosition(); //获取第一个选定项的位置 /* 返回值:成功 返回行号; NULL,如果项未被选定 */ str.Format(_T("pos=%d\r\n"), pos); OutputDebugStr ......