lior6543
February 1st, 2005, 06:42 PM
i would like to get one of the subitems of a list's item into a String*
how can i do that?
how can i do that?
|
Click to See Complete Forum and Search --> : simple listview question lior6543 February 1st, 2005, 06:42 PM i would like to get one of the subitems of a list's item into a String* how can i do that? Andy Tacker February 2nd, 2005, 03:06 AM you would need to get the listviewitem and then get its subitem either by column number or column name... ListViewItem m_Item = My_ListView.Items[0]; and then m_Item->SubItems[0].toString(); lior6543 February 2nd, 2005, 04:25 AM it only works on C# i need it for C++.NET i can not use ".[" in C++ ... Andy Tacker February 3rd, 2005, 03:19 AM I understand that, but all I am trying is to give you an idea, how to do it. You can dig MSDN for implementation in C++/ lior6543 February 5th, 2005, 10:04 AM and i understand you. thanks. you still need to use: ...get_Item(x)->Text = "string"; that's it!!!!!! codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |