Click here to Skip to main content
11,581,397 members (62,680 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MFC VC++
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 29-Jan-13 4:58am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Search for MFC Grid Control on this site. I recently used it for I believe same things as you are doing....
  Permalink  
Comments
peoria123 at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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 Smile | :)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 340
1 Sergey Alexandrovich Kryukov 160
2 virusstorm 114
3 Frankie-C 105
4 RyanDev 84
0 OriginalGriff 1,273
1 Sergey Alexandrovich Kryukov 895
2 Abhinav S 597
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100