Enable vertical scrollbar in MessageBox?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kgerritsen

    #1

    Enable vertical scrollbar in MessageBox?

    I have a procedure that interrogates a log file when the user first
    launches, and displays new rows (delimited with vbNewLine) in a simple
    MessageBox(logS tring, "Events since last run")

    Most of the time, that's fine. In rare conditions, the number of rows
    in the string exceeds the vertical height of the window. Is there any
    way to set the MessageBox to autosize to fit the window and have a
    vertical scrollbar?

    Because I am lazy, I don't want to necessarily implement my own dialog
    box for this but it's not a big deal to do so if necessary.

    Regards,
    Keith

Working...