Size of CRichEditCtrl
-
When I have a lot of text in my Control (lager then 64k) I can not handle this anymore. CString is to small, Richedit will not take any more letters. What can I do? is there a alternative? GermanGeorge
-
When I have a lot of text in my Control (lager then 64k) I can not handle this anymore. CString is to small, Richedit will not take any more letters. What can I do? is there a alternative? GermanGeorge
GermanGeorge wrote: CString is to small, What do you mean by this? A CString object can store up to 231-1 characters. GermanGeorge wrote: Richedit will not take any more letters By chance are you sending the control a
EM_LIMITTEXT
message?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
GermanGeorge wrote: CString is to small, What do you mean by this? A CString object can store up to 231-1 characters. GermanGeorge wrote: Richedit will not take any more letters By chance are you sending the control a
EM_LIMITTEXT
message?
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
hello, thank you for yout idea. i used LimitText (which I thought was a limitation) and it works well right now. GermanGeorge