From: muthukkumaran on
Hi to all,

How to store all the listcontrol data's into file. if data is there i
want to edit from the listcontrol.It is possible to do that.Pls anyone
help me i am struggling for using listcontrol.


Regards,
Muthu
From: AliR on
Here is how to do it in a report view list control. Obviously you don't
have columns in the other views.

for (int i =0; i < m_ListCtrl.GetItemCount();++i)
{
for (int j = 0; j < m_ListCtrl.GetHeaderCtrl()->GetItemCount();++j)
{
CString Text = m_ListCtrl.GetItemText(i,j);
//now write it to file
}
}

AliR.

"muthukkumaran" <arumuthu(a)gmail.com> wrote in message
news:114955ad-bdfc-46d1-bcc3-ea876fd5244c(a)o16g2000prh.googlegroups.com...
> Hi to all,
>
> How to store all the listcontrol data's into file. if data is there i
> want to edit from the listcontrol.It is possible to do that.Pls anyone
> help me i am struggling for using listcontrol.
>
>
> Regards,
> Muthu