timeout on MessageBox()

  • Thread starter Thread starter HenrikFogh
  • Start date Start date
H

HenrikFogh

Hi,

Is there a simple way to make the MessageBox dialog to timeout.
My application can't allow the user to hang the program in this manner.

Thanks,
HenrikFogh
 
Henrik,

You can create your own dialog that provides more or less the functionality
of a MessageBox, but since you want the dialog to disappear after a timeout
value, I wonder if this is really the best approach. I'm assuming that you
want to display a message until the user reads it, right? Maybe using a
multiline textbox on the form to display status messages would work better.
 
Back
Top