Visual C++ 2005 Express

Discussion in 'Microsoft Dot NET Framework' started by Guest, Mar 12, 2006.

  1. Guest

    Guest 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!...
    --
    Eric Miller
     
    Guest, Mar 12, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ik
    Replies:
    7
    Views:
    213
    Shawn B.
    Jul 16, 2004
  2. Richard
    Replies:
    4
    Views:
    233
    Willy Denoyette [MVP]
    May 13, 2005
  3. Guest

    Visual C++ 2005 ExpressVisual C++ 2005 Express

    Guest, Mar 12, 2006, in forum: Microsoft Dot NET Framework
    Replies:
    0
    Views:
    155
    Guest
    Mar 12, 2006
  4. Guest

    Visual C++ 2005 ExpressVisual C++ 2005 Express

    Guest, Mar 12, 2006, in forum: Microsoft Dot NET Framework
    Replies:
    0
    Views:
    159
    Guest
    Mar 12, 2006
  5. Replies:
    2
    Views:
    325
Loading...

Share This Page