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...
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..
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.