Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListControlBox .......Problem please help!

Status
Not open for further replies.

malayaj

Programmer
Mar 19, 2001
11
0
0
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top