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 » RichText,QTF,RTF... » How to add some text to RichTextview?
How to add some text to RichTextview? [message #1422] Fri, 03 March 2006 14:57 Go to previous message
Cpu86 is currently offline  Cpu86
Messages: 3
Registered: March 2006
Junior Member
Hi,
I have a richtextview and I want to add some text at the end of the text is already present.
I do this:

String s = elenco.GetData();
char *str_elenco = (char *)malloc(sizeof(char) * (strlen(~s)+8));
strcpy(str_elenco,~s);
strcat(str_elenco,"[+10 A]");
elenco.SetData(str_elenco);

But doesn't work.
Anyone can help me?

Thanks
Marco

[Topic name edited by fudadmin and moved from "library wishlist"]

[Updated on: Fri, 03 March 2006 21:34] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: RTF Table problem [BUG][FIXED?]
Next Topic: RichTextView: Size is wrong without scrollbar
Goto Forum:
  


Current Time: Fri Apr 19 03:30:36 CEST 2024

Total time taken to generate the page: 0.01368 seconds