Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MES sizing possible?
#1
Is there a way to change the size of a MessageBox using the mes command? If I have a list of long strings in a message, it always wraps them around at odd intervals. Is there a way to make it so that is I have a list of strings it will resize the message box to the length of the longest string? I really hate having to create a whole separate dialog box just to display a few lines of changing info. Thanks!

Here's a sample code:
 
Code:
Copy      Help
str msg

msg = "This is a line of text"

msg = F"{msg}[]This is another line of text that is even longer than the first one"
msg = F"{msg}[]This is another line of text that is even longer than the second line of text that shouldn't wrap around."
msg = F"{msg}[]This is shorter line than the last one"

mes msg
#2
No.
mes uses Windows API MessageBoxIndirect; it does not have such option.
#3
Well phooey! :/


Forum Jump:


Users browsing this thread: 1 Guest(s)