470,815 Members | 1,094 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

The textbox I create logically in the program,

Visual C++ 2005 Express

MVP's and experience programmer's only please!...

I need to get the number of lines in a textbox so I can insert them into a
listview. The text comes from my database and is unformatted. I display the
text to my user in the listview. The textbox I create logically in the
program, and I initialize the correct properties for a normal multiline
editor.

When the user changes the column size then I reload the lines accordinally.
The problem I am having is when I get the lines property which is a
array<^>^(). The lenght is always 1 no matter how many lines are in the
textbox.

In MFC when the lines are wraped the new line character is automattically
inserted, but here it's not.

Can you help me solve this problem? I would really appreciate it!

Thanks!...
--
Eric Miller
Mar 12 '06 #1
0 737

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Eric | last post: by
reply views Thread by Eric | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.