Browse - Programming Tips - How can I make the text in a MessageBox() more than one line?

Date: 2009aug30
Level: beginner
Language: C/C++
OS: Windows
Platform: win32
Keywords: multiline

Q.  How can I make the text in a MessageBox() more than one line?

A.  Place \r\n between lines like this:

MessageBox("Line One\r\nLine Two\r\nLine Three", "My Program", MB_OK);