Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] A TextBox 32K ?

Started by mozie Jan 8, 2005 at 7:46 PM 1 replies 1k views
Original Post
mozie
mozie
I'm using MSVC .NET and programing with C++. I have an TextBox with the MaxLength set to 0. I thought that 0 ment 'no-restriction', so it can be any size. Well thats not what I get, it will only fill upto 32K -1 (32,767) into the buffer. I have even set the MaxLength to 64K, no change. Any ideas on how to get this to display more? Once I can get this little piece fixed, I think I will actually be done with this util! This is how I access and write, incase that matters.

// here is the access to the editbox
private: System::Windows::Forms::TextBox *  textBox_Output;

// i write to it like this
textBox_Output->AppendText(sMessage);


Thank you.
JasonA
JasonA
Hmm... maybe a RichTextBox would be more lenient?
Jason Arorajason@pubism.comhttp://www.pubism.com
mozie
mozie
Quote:
Original post by JasonA
Hmm... maybe a RichTextBox would be more lenient?


Much more. :) Thank you.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.