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

1639
0
05-19-2011 06:52 AM
JerkerBoman
New Contributor
Hi

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
0 Kudos
0 Replies