Rishav Posted January 5, 2009 Share Posted January 5, 2009 (edited) Hi all Have a rather simple but highly irritating problem. I have a Msgbox which needs two different lines in the text. ie. 1st line should say "MD5 for File 1: XXX" and then the next line says "MD5 for File 1: YYY" MsgBox (0, "File Hashes Different.", "MD5 for File 1:" & $Hash1 & "" & "MD5 for File 2:" & $Hash2) My msgbox however shows everything in one line only and using \n doesn't helps. Its hardly a major deal but everytime I see that messagebox with everything in a single line, I burn a quart of my delightful blood. Any suggestions in this regards will be much appreciated. thanks and regards. Edited January 5, 2009 by Rishav Link to comment Share on other sites More sharing options...
ProgAndy Posted January 5, 2009 Share Posted January 5, 2009 a linebrak is encoded with the macro @CRLF *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
deathday Posted January 5, 2009 Share Posted January 5, 2009 MsgBox (0, "File Hashes Different.", "MD5 for File 1:" & @CRLF & "MD5 for File 2:" ) try that .. Link to comment Share on other sites More sharing options...
system24 Posted January 5, 2009 Share Posted January 5, 2009 MsgBox (0, "File Hashes Different.", "MD5 for File 1:" & $Hash1 & @CRLF & "MD5 for File 2:" & $Hash2) [center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center] Link to comment Share on other sites More sharing options...
Rishav Posted January 6, 2009 Author Share Posted January 6, 2009 Thanks a lot guys. Can't believe how much that tiny thing irritated me. I ended up spending an hour using various permutations of "\n". Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now