|
-
September 24th, 2012, 09:42 AM
#8
Re: display data of text file in list view
i dont have any problem with creating right view, thanx for your help but i already know that, what im asking is about reading file and tokenizing and then getting access to that read data for displaying. my questions
i have tried reading file and have made ReadTextFile(...) member function of listview class
Q1. is this function called automatically somewhere or i have to call it explicitly
Q2. if i have to call it explicitly somewhere im confused ,how to provide its parameters i.e LPCTSTR pszFileName, CStringArray& arrLines from where did i get them
Q3. tokenize is used to parse string so first i have to get string from arrlines right?arrLines.Add(strLine); is used to add string ,which function is better to be used for getting string from arrlines?
pardon me for asking basics but im quite new to visual c++ thats why.
Last edited by tspga; September 24th, 2012 at 09:55 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|