<?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 Remove custom contents view from ArcMap TOC? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/remove-custom-contents-view-from-arcmap-toc/m-p/689298#M18521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ESRI sample, TOCLayerFilterVB2010, implements a custom TOC view for map layers. For my purposes, I need to be able to turn it on/off, meaning add and remove that view from the TOC horizontal icon bar programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone explain how the custom contents view in this sample gets instantiated? I find that if the dll is registered, it appears. The only way to get rid of it in any ArcMap document is to unregister it. Loading a blank document or deleting the Normal.mxt template does not have any effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, I will have a command toggle that instantiates and destroys the view. I cannot figure out how to control its creation. The object gets created when ArcMap starts and before any document is loaded. The windows form initialization is a private method, created by the windows form designer automatically, and the tree view object itself is a private property as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2014 14:20:01 GMT</pubDate>
    <dc:creator>ErikaDade</dc:creator>
    <dc:date>2014-04-29T14:20:01Z</dc:date>
    <item>
      <title>Remove custom contents view from ArcMap TOC?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/remove-custom-contents-view-from-arcmap-toc/m-p/689298#M18521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ESRI sample, TOCLayerFilterVB2010, implements a custom TOC view for map layers. For my purposes, I need to be able to turn it on/off, meaning add and remove that view from the TOC horizontal icon bar programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone explain how the custom contents view in this sample gets instantiated? I find that if the dll is registered, it appears. The only way to get rid of it in any ArcMap document is to unregister it. Loading a blank document or deleting the Normal.mxt template does not have any effect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, I will have a command toggle that instantiates and destroys the view. I cannot figure out how to control its creation. The object gets created when ArcMap starts and before any document is loaded. The windows form initialization is a private method, created by the windows form designer automatically, and the tree view object itself is a private property as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 14:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/remove-custom-contents-view-from-arcmap-toc/m-p/689298#M18521</guid>
      <dc:creator>ErikaDade</dc:creator>
      <dc:date>2014-04-29T14:20:01Z</dc:date>
    </item>
  </channel>
</rss>

