Hi... I'm new in the world of c++, im creating a c++ CLI form with a listview on which is populated at runtime in the "Load" event... now i hav come so far as to make the list able to show a message box when i double click the listview item...but heres my question....
How do i get the message box to display the selected items text and subitems...
like
String^ MystringtoUSE;
MystringtoUSE = "Item Clicked: " + "(here's the first item in the list)" + " - Total Files: " + "(now the subitem text)");
MessageBox::Show (MystringtoUSE,"Double Clicked");
i dont know what to do...
can someone please help me....i need to fix this....teach me for the future...
What I have tried:
*searching online but they really help.
*MyList->GetItemAt(0,0) //for the items
MyList->GetItemAt(0, 1) for subitem
*MyList->GetItemAt(0,0)->text