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 » U++ Widgets - General questions or Mixed problems » Get, modify and set text of RichEdit(WithToolBar)
Get, modify and set text of RichEdit(WithToolBar) [message #14424] Tue, 26 February 2008 09:13 Go to previous message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Hi,
Is it possible to specify a top offset for page on RichEdit? I would like that text begin on the half of the page on the first page and begin on the top on the other pages.
Well, my pooor solution is, during printing get text from the richedit, insert some blank paragraphs on the top, print and then restore the original text. I am waiting for a flikering but I have no other solution.

Thus I use the code (yet before inserting blank paragraphs):

String strQTF << txText.GetQTF(CHARSET_ISO8859_1);
txText.SetQTF(strQTF);

When the text is restored the word UTF-8 appears on the beginning...
Which is the right way to get and set the text of richEdit control? by the way, How do I insert blank paragraphs on top? I am ysing the simbol & but it doesnt work.

A better solution would also be appreciated.

Thank you
Alex
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: openGL and texture
Next Topic: How to turn off Ctrl Updatable action?
Goto Forum:
  


Current Time: Fri Mar 29 15:23:32 CET 2024

Total time taken to generate the page: 0.02028 seconds