When I use the MessagePopup function with a big message, my program don't look that good. I need a mettod to split the message in 2 or 3 lines. I tried with "\n" but I gess it isn't the right choice.
This is only an example: MessagePopup("Message","Hello people of the world! How do you feel in this afternoon?");
I do not see any reason why the MessagePopup function does not suit for your application. With the use of \n , you can split your message into different lines how much ever big it is.
I've had the same problem as tmaxial. When I use \n to input a carriage return in my strings the result is, in front of the second line of my messages, the visualization of lots of strange characters. Thanks for help.
The \n character should work as advertised. If it's giving erratic behavior, I would try changing fonts or character sets to see if the system settings you're using are causing trouble. In most cases, however, \n should just do a carriage return and not add extra characters.
Did you create the string as a signle literal constant, e.g. "Line 1\nLine2" or did you build it using sprintf() or strcat(), etc.? If you built the string, it's possible that the string for your first line is not properly terminated so the string includes the junk in memory until it finds a \0.