Archive: Messagebox Length


Messagebox Length
Is it possible to make a carriage return in the line if it’s too long?

MessageBox MB_ICONINFORMATION|MB_OK "Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah"

As it makes a really long message box on screen

I tried inserting

\r or \n but it didn't work

it just ended up as

Blah Blah\rBlah Blah and so on

Thanks

-Tony


MessageBox MB_OK "Hi TonyDS$\nIf you need line breaks you must use this char $$ before \n$\nRead the help for more info on this subject. Good bye.$\nRamon"


Using this Hello$\r$\nHello works well in mine. :)


Thank you

That works prefectly :)

-Tony


Use $\r$\n for line breaks inside NSIS (Windows standard) and use \r\n in InstallOptions.

-Stu