How to get data from list control
-
Hi, I have created gridlines using CListCtrl in reported view.I have entered data in some gridlines. Now I want all the the data.How can I get that data? Can u please help me. Thank you.
-
Hi, I have created gridlines using CListCtrl in reported view.I have entered data in some gridlines. Now I want all the the data.How can I get that data? Can u please help me. Thank you.
vc++_fragrance wrote:
CListCtrl.How can I get that data
CListCtrl::GetItemText(...); Use it while iterating through the elements of the list control using a loop.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
vc++_fragrance wrote:
CListCtrl.How can I get that data
CListCtrl::GetItemText(...); Use it while iterating through the elements of the list control using a loop.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
Thank you very much.
-
Hi, I have created gridlines using CListCtrl in reported view.I have entered data in some gridlines. Now I want all the the data.How can I get that data? Can u please help me. Thank you.
You can use
GetItemCount
for get items of List and use from a loop withGetItemText
for read of listctrl.
WhiteSky