<?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: IApplicationWindows DataWindows never returns results in ArcMap 10 in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728637#M19412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bump&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what could be causing ArcMap not to have the current DataWindows and I can't seem to find any way to get them besides the above described method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be valuable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 17:04:53 GMT</pubDate>
    <dc:creator>RobinCarnow</dc:creator>
    <dc:date>2012-04-19T17:04:53Z</dc:date>
    <item>
      <title>IApplicationWindows DataWindows never returns results</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728636#M19411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have implemented a context menu option which, when clicked, tries to find the current ITableWindow which is being shown to the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An accepted way of doing this in an addin is to call: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; //to get a reference to the application &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; IApplicationWindows pApplicationWindows= (IApplicationWindows)ArcMap.Application;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; //to get the set of data windows&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ISet pDataWindows = pApplicationWindows.DataWindows;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then you can iterate over the set to check each IDataWindow to see if it has what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is a link which takes the same approach of iterating over the data windows, checking each one for a particular characteristic (see method FindGraphWindow): &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000081w000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000081w000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem I'm having is that since I have started using ArcMap 10, the call to pApplicationWindows.DataWindows always returns an empty set.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tested my ArcMap extension which was migrated to ArcMap 10 and the same issue (via IHookHelper) exists for it.&amp;nbsp; This is working in ArcMap 9.x.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why this might be causing this issue in ArcMap 10 and not in ArcMap 9? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2012 20:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728636#M19411</guid>
      <dc:creator>RobinCarnow</dc:creator>
      <dc:date>2012-04-17T20:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: IApplicationWindows DataWindows never returns results in ArcMap 10</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728637#M19412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bump&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what could be causing ArcMap not to have the current DataWindows and I can't seem to find any way to get them besides the above described method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be valuable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 17:04:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728637#M19412</guid>
      <dc:creator>RobinCarnow</dc:creator>
      <dc:date>2012-04-19T17:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: IApplicationWindows DataWindows never returns results</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728638#M19413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Correcting an ArcMap framework level change that occurred between ArcGIS 9.3 and 10. The attribute table window is no longer a data window but rather a&amp;nbsp; dockable window. As a result, a different set of ArcObjects calls to the new ArcGIS 10 interface�??ITableWindow3�??using the .FindOpenTableWindows method is needed to get the ITableWindow object. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000035n000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//00010000035n000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 18:56:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iapplicationwindows-datawindows-never-returns/m-p/728638#M19413</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2012-04-19T18:56:19Z</dc:date>
    </item>
  </channel>
</rss>

