Listview + Text

  • Thread starter Thread starter David
  • Start date Start date
D

David

Hello.
In listview I have 3 collumns.
How can I read text from 2rd ITEM - 2nd Subitem

Example:
Mark PEter June
HEllo By All
Sony Philips Panasonic

This is listview:
And I want gettext "Philips". I think that it is Item 2 , SubItem 1 .But I
don't know how can I write It.
I think that somethink like this can be:
listview->Items->Item[2]->subitem[1]->text - bud this is bad.
Can anybody help me?
Thanks a lot.
 
I can't find getitemtext in Listview
I use listview from NEt. Framework

Rajko said:
I think you are looking for:
CString strText = m_ListViev.GetItemText(2, 1);

David said:
Hello.
In listview I have 3 collumns.
How can I read text from 2rd ITEM - 2nd Subitem

Example:
Mark PEter June
HEllo By All
Sony Philips Panasonic

This is listview:
And I want gettext "Philips". I think that it is Item 2 , SubItem 1 .But I
don't know how can I write It.
I think that somethink like this can be:
listview->Items->Item[2]->subitem[1]->text - bud this is bad.
Can anybody help me?
Thanks a lot.
 
Back
Top