Show a form/progressbar in a thread when screen is drawing

Discussion created by jerkerb on May 19, 2011

I use ArcGIS Engine and like to show a control (Form or Progressbar) while the screen is drawing.
It:s like the ArcMap spinning-globe funcionality.
I have a command that listen on MapControlEvents (OnBeforeScreenDraw, OnAfterScreenDraw).
I then try to Show/Hide a Form. It works but not so smooth that I like.
I try to do the same in a thread but I get "cross-thread" exceptions.
Is there any god examples how to achieve this

Thanks a lot