how to select on the valid listview items?
Hi guys,
Can you please help me with my listview items. I want to know that when a user select the items on the listview to tick and untick on the checkboxes while a user do not select on the other listview items, how do the program suppose to know which listview items that a user have selected after tick and untick on the checkboxes?
Something like this:
Code:
for each (ListViewItem ^checkeditems in listView1::SelectedItems)
{
if (checkeditems->Selected == true)
{
if (checkeditems->Checked == true)
{
checkeditems->Selected = false;
}
else if (checkeditems->Checked == false)
{
MessageBox::Show(checkeditems->SubItems[1]->Text);
}
}
}
I need to know how to do this because I want to send the information of substring text to my php server.
If you know how i can do this, I would be very grateful.
Thanks,
Mark