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 » Community » Newbie corner » "\n" does not work on DrawText
"\n" does not work on DrawText [message #46089] Thu, 03 March 2016 08:33 Go to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi there,
following my post DrawText and carriage return, I decided to insert the carriage return using some lines of code. The code is really simple but should do the trick. I basically add a "\n" after 35 chars, but it seems something is going wrong. The code add a char in the WString (I notice an extra space in the phrase), but it actually does not make a carriage return: the WString is still on a line. What is the escape sequence to be used with DrawText to have a carriage return?
Regards,
Gio
 
Read Message
Read Message
Read Message
Previous Topic: Can't Ultimate++ use Japanese?
Next Topic: Can't Ultimate++ use Japanese?
Goto Forum:
  


Current Time: Sat May 03 18:42:07 CEST 2025

Total time taken to generate the page: 0.02222 seconds