How a messagebox can be self closed?

  • Thread starter Thread starter Li Pang
  • Start date Start date
Li Pang said:
How to show a messagebox and close by itself?

You pretty much can't, not with the messageBox proper.

However, you could design and call your own form that does it. Set up a
timer control on your form, and unload and destroy the form when the timer
has fired...

R.
 
How to show a messagebox and close by itself?

Thanks

I'm not sure if the built in messagebox can be self closed, but you could
create a very simple form class that mimics the messagebox. Incorporate a
timer in the class and when an appropriate amount of time has passed, close
the form.
 
what ever happened to the messagebox time out properties? the use to be in
other languages MS put out.. you could set like a 30 second time out then it
would close after that... i know foxpro still has it in..
 
Back
Top