<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Show a form/progressbar in a thread when screen is drawing in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/show-a-form-progressbar-in-a-thread-when-screen-is/m-p/97494#M2575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcGIS Engine and like to show a control (Form or Progressbar) while the screen is drawing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It:s like the ArcMap spinning-globe funcionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a command that listen on MapControlEvents (OnBeforeScreenDraw, OnAfterScreenDraw).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then try to Show/Hide a Form. It works but not so smooth that I like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to do the same in a thread but I get "cross-thread" exceptions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any god examples how to achieve this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2011 13:52:32 GMT</pubDate>
    <dc:creator>JerkerBoman</dc:creator>
    <dc:date>2011-05-19T13:52:32Z</dc:date>
    <item>
      <title>Show a form/progressbar in a thread when screen is drawing</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/show-a-form-progressbar-in-a-thread-when-screen-is/m-p/97494#M2575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcGIS Engine and like to show a control (Form or Progressbar) while the screen is drawing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It:s like the ArcMap spinning-globe funcionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a command that listen on MapControlEvents (OnBeforeScreenDraw, OnAfterScreenDraw).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then try to Show/Hide a Form. It works but not so smooth that I like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to do the same in a thread but I get "cross-thread" exceptions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any god examples how to achieve this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 13:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/show-a-form-progressbar-in-a-thread-when-screen-is/m-p/97494#M2575</guid>
      <dc:creator>JerkerBoman</dc:creator>
      <dc:date>2011-05-19T13:52:32Z</dc:date>
    </item>
  </channel>
</rss>

