Windows Develop Bookmark and Share   
 index > Windows Forms General > update list view rows later , event base
 

update list view rows later , event base

Hi, I am facing some prob in managed C++,  I can fill my ListView , but I am unable to edit specific row at later time

I can fill like
            listView1->View = View::Details;   
            listView1->Columns->Add("S.no",......
            ListViewItem^ itmp = gcnew System::Windows::Forms::ListViewItem("100");
            ListViewSubItem^ itms1 = gcnew ListViewSubItem(itmp, "12:12:12 PM");
            itmp->SubItems->Add(itms1);
            listView1->Items->Add(itmp);


I want to implement following VB code in managed C++ , but showing errors
           Dim FindlvItem() As ListViewItem  // here i am facing problem in conversion to c++ managed
           FindlvItem = Me.ListView1.Items.Find("100", False)
           FindlvItem(0).SubItems(0).Text = "01:01:01 AM"
ali1Ali2ali3  23 hours 5 minutes ago
solved
HarisAli  34 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• need help with my project
• BackgroundWorker thread problem
• Href exe and localization
• adjusting ColumnHeader width in ListViewControl
• Re:Mdi Form
• The Color of a TextBox when it unabled.
• KeyDown and MouseDown events all at once. How can it be done?
• Watermark TextBox in winform
• Switchboard form and child form.
• How to let user enter only numeric value in particular cell of a gridview????