malayaj
Programmer
- Mar 19, 2001
- 11
Dear Friends,
I have a problem in VC++(MFC).
The problem is that -
I have a program in which i have to display
some data on a ListControlBox. That data is
read from a text file.In that text file generally
single lines contains more than 500 characters.
The file is opened using CStdioFile :: Open()
function with CFile::modeRead | CFile::typeText modes.
The program reads that data through CStdioFile :: ReadString()
function.This function reads whole single line.
The problem occures when i want to show this string
(which contains whole single line data) in a column of
a ListControlBox it display only 243 characters of that
string. I have already set that column's width more than
that string size (e.g. 2000).
To test whether this string contains whole data or not
when I had written that string into a text file it wrote whole the data.
As I am unable to understand this problem so I request you all to Please solve my problem.
I have a problem in VC++(MFC).
The problem is that -
I have a program in which i have to display
some data on a ListControlBox. That data is
read from a text file.In that text file generally
single lines contains more than 500 characters.
The file is opened using CStdioFile :: Open()
function with CFile::modeRead | CFile::typeText modes.
The program reads that data through CStdioFile :: ReadString()
function.This function reads whole single line.
The problem occures when i want to show this string
(which contains whole single line data) in a column of
a ListControlBox it display only 243 characters of that
string. I have already set that column's width more than
that string size (e.g. 2000).
To test whether this string contains whole data or not
when I had written that string into a text file it wrote whole the data.
As I am unable to understand this problem so I request you all to Please solve my problem.