<?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 Re: problem zooming when window minimized in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18685#M460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone have any insight on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2014 16:23:01 GMT</pubDate>
    <dc:creator>JeffRogholt</dc:creator>
    <dc:date>2014-11-25T16:23:01Z</dc:date>
    <item>
      <title>problem zooming when window minimized</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18684#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're using Developer Kit 10.1 in a vb.net win forms app.&amp;nbsp; The app listens for messages in the message queue.&amp;nbsp; The message contains x/y.&amp;nbsp; When a message is received, the map goes to the location.&amp;nbsp; When the form is visible/open the zooming works but when form is minimized it does not zoom to the correct location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the steps to reproduce the issue:&lt;/P&gt;&lt;P&gt;Minimize the form&lt;/P&gt;&lt;P&gt;Send a message containing x/y&lt;/P&gt;&lt;P&gt;Restore/open/maximize the form and the map is in the wrong location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a snippet of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Private Shared Sub ZoomMap(ByVal map As AxMapControl, _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ByVal pt As IPoint)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim mapExtent As IEnvelope&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapExtent = map.Extent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapExtent.CenterAt(pt)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.Extent = mapExtent&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug?&amp;nbsp; Is there another way (not using CenterAt) to get the expected behavior?&amp;nbsp; Any suggestions or help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18684#M459</guid>
      <dc:creator>JeffRogholt</dc:creator>
      <dc:date>2014-10-08T13:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem zooming when window minimized</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18685#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone have any insight on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 16:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18685#M460</guid>
      <dc:creator>JeffRogholt</dc:creator>
      <dc:date>2014-11-25T16:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem zooming when window minimized</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18686#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested your function with 10.1 and windows forms app with scenario zooming to a specific location using timer.&lt;BR /&gt;I press the Zoom button and minimize the window, then maximize it again and it zooms to the right location.&lt;BR /&gt;I found no problems with that.&lt;BR /&gt;Also you can check this zoom function:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0049000000nm000000" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0049000000nm000000"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 14:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/problem-zooming-when-window-minimized/m-p/18686#M461</guid>
      <dc:creator>AhmedEl-Sisi</dc:creator>
      <dc:date>2014-11-27T14:55:57Z</dc:date>
    </item>
  </channel>
</rss>

