Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

How i can read text file into report style listcontrol..I am able to read it in listbox control but I need to read the textfile into listcontrol(it has 3 columns).

Please help me out..

Thank you.
Posted

Not sure why you struggled to find this:

MFC Grid control 2.27[^]

It looks like excel but, you can use this as a replacement to listbox. Works wonders as you can update cells and send messages... Let me know how you get on :)
 
Share this answer
 
you can use the CListCtrl in MFC to achieve this. you can use the InsertItem method to insert into the list control and several methods to control listcontrol

more you can find here[^]
 
Share this answer
 
Search for MFC Grid Control on this site. I recently used it for I believe same things as you are doing....
 
Share this answer
 
Comments
peoria123 29-Jan-13 11:57am    
Hi,

Thanks...I have been serching from long time i haven't seen that kind of example..can you please see the link if you have that link in history or by putting some code on google you can find the link..I will really appriciate that Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900