Long answer:
You can call Application.DoEvents() to get a similar functionality. But if
you perform long-running tasks, perform them on a background thread and just
use the UI thread to update the UI.
In .NET, you can utilize the BackgroundWorker for that. It nicely handles
all the cross-thread calls which are necessary to update the UI.
In .NET 1.1, use the ThreadPool or a dedicated new thread and update the UI
with calls through form.Invoke(), where form is the window you want to
update.
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.