Why is this not working?...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!...
 
Why have you posted the same message over 100 times!

And what does this mean ... is the same answer wrong if someone else posts
it?
 
Well, I think he was trying to post repeatedly, and his posts were
getting deleted. I think there was some technical problem confined to
this group yesterday, and ever since, Google has been showing me "There
are 0 posts in this group."

P.S. : This is not to defend his multiple posting in any way.

Regards,

Cerebrus.
 
Back
Top