int i, count = m_ctrlyourlist.GetItemCount();
CString somevalue;
for ( i=0; i < count; i++ )
if ( m_ctrlyourlist.GetItemState( i, LVIS_SELECTED ) )
{
// get the data out of first column
somevalue=m_ctrlyourlist.GetItemText( i,0);
}
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: CListCtrl ReportThreaded View
|
Click Here to Expand Forum to Full Width |