Updating UI when running a long task

I have a background task running and I need to update a control to
let the user know whats going on.

So from the background task I am able to send events to the control
but this never gets updated so the question is is there a routine I can call from the Rhino.UI thread
to process all pending events ?

In Qt there is a routine called qapp.ProcessEvents where all controls have a chance to get updated.

gerry

Nobody ? This should be a quite common issue or no ?
Gd

Use RhinoApp.InvokeOnUiThread