Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Help!.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric - 12 Mar 2006 11:49 GMT
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!...
Signature

Eric Miller

Nick Malik [Microsoft] - 12 Mar 2006 17:14 GMT
Hello Eric,

Posting dozens of times to the wrong newsgroup isn't terribly helpful.  I'm
not a C++ developer, but I will try to help.  Problem is that most of the
responders on this board like to look at the answer from others before
answering.  Since there are so many threads, no one will want to answer most
of them.

Please post a subset of code that demonstrates your problem.  You may want
to consider cross-posting to the c++ group as well.

Signature

--- Nick Malik [Microsoft]
   MCSD, CFPS, Certified Scrummaster
   http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
  I do not answer questions on behalf of my employer.  I'm just a
programmer helping programmers.
--

> Visual C++ 2005 Express
>
[quoted text clipped - 19 lines]
>
> Thanks!...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.