Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » BUG?: EditString Text rendering not stable with some Strings
Re: BUG?: EditString Text rendering not stable with some Strings [message #37436 is a reply to message #37432] Thu, 04 October 2012 21:36 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13639
Registered: November 2005
Ultimate Member
kohait00 wrote on Wed, 03 October 2012 15:52

Supplying a String like

String s = "ab";
s.Cat('\0');
edstring.SetData(s);


will cause a rendering problem..
I know, a String should be terminated by one '\0' only, but some times preinit sized buffers (String) will be supplied, that have more 0000 following. How is EditString supposed to deal with this?



Actually, I do not know... Smile

Should we treat it as normal unicode character and display something like box? Or should we change the len of string?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DocEdit code scrolling
Next Topic: Custom check for EditIntXxxx controls
Goto Forum:
  


Current Time: Wed Jun 29 05:30:00 CEST 2022

Total time taken to generate the page: 0.01392 seconds