<?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 ArcGIS Explorer Extension - Bring To Front in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503004#M3036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating an Extension and I would like to be able to bring the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ArcGIS Explorer&lt;/SPAN&gt;&lt;SPAN&gt; window to the front; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ArcGIS Explorer&lt;/SPAN&gt;&lt;SPAN&gt; may be minimized or there may be another window hiding it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 21:15:28 GMT</pubDate>
    <dc:creator>SeanConnolly</dc:creator>
    <dc:date>2011-09-26T21:15:28Z</dc:date>
    <item>
      <title>ArcGIS Explorer Extension - Bring To Front</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503004#M3036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am creating an Extension and I would like to be able to bring the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ArcGIS Explorer&lt;/SPAN&gt;&lt;SPAN&gt; window to the front; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ArcGIS Explorer&lt;/SPAN&gt;&lt;SPAN&gt; may be minimized or there may be another window hiding it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 21:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503004#M3036</guid>
      <dc:creator>SeanConnolly</dc:creator>
      <dc:date>2011-09-26T21:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Explorer Extension - Bring To Front</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503005#M3037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would also like to Minimize ArcGIS Explorer. I am creating this extension in .NET&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 17:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503005#M3037</guid>
      <dc:creator>SeanConnolly</dc:creator>
      <dc:date>2011-09-29T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Explorer Extension - Bring To Front</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503006#M3038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would also like to Minimize ArcGIS Explorer. I am creating this extension in .NET&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to use the Windows API to perform these types of operations on an application window like ArcGIS Explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
[DllImport("user32.dll")]
private static extern bool SetForegroundWindow(IntPtr hWnd);

private static void BringArcGisExplorerToFront()
{[INDENT]
&amp;nbsp;&amp;nbsp;&amp;nbsp; IntPtr handle = ESRI.ArcGISExplorer.Application.Application.Window.Handle;
&amp;nbsp;&amp;nbsp;&amp;nbsp; SetForegroundWindow(handle);[/INDENT]
}

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And here is an MSDN post on a similar method for setting the state of a window (e.g. minimized, maximized): &lt;/SPAN&gt;&lt;A href="http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/9bde4870-1599-4958-9ab4-902fa98ba53a/" rel="nofollow noopener noreferrer" target="_blank"&gt;How do I maximize/minimize applications programmatically in C#?&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/arcgis-explorer-extension-bring-to-front/m-p/503006#M3038</guid>
      <dc:creator>ErinBrimhall</dc:creator>
      <dc:date>2021-12-11T22:04:36Z</dc:date>
    </item>
  </channel>
</rss>

