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?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. ik
    Replies:
    7
    Views:
    334
    Shawn B.
    Jul 16, 2004
  2. ik
    Replies:
    9
    Views:
    445
    Mikhail Arkhipov (Microsoft)
    Jul 9, 2004
  3. Richard
    Replies:
    4
    Views:
    342
    Willy Denoyette [MVP]
    May 13, 2005
  4. W. Jordan
    Replies:
    5
    Views:
    928
    W. Jordan
    Nov 30, 2005
  5. Guest

    Visual C++ 2005 Express

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

    Visual C++ 2005 ExpressVisual C++ 2005 Express

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

    Visual C++ 2005 ExpressVisual C++ 2005 Express

    Guest, Mar 12, 2006, in forum: Microsoft Dot NET Framework
    Replies:
    0
    Views:
    261
    Guest
    Mar 12, 2006
  8. Replies:
    2
    Views:
    484
Loading...