<?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: Hiding Buttons in the Status Bar in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8538187#M23742</link>
    <description>&lt;P&gt;AutoCAD's StatusBar object contains 2 collections of items: Panes and TrayItems. That is, not all items you see is a Pane, some of them are Panes, some of them are TrayItems (though, both are derived from StatusBarItem, which has a property VIsible). Usually, the items with text in it is a Pane, the item only showing an icon is TrayItem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you need to go through both collections and set each item in each collection with Visibile = False&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jan 2019 17:41:34 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2019-01-21T17:41:34Z</dc:date>
    <item>
      <title>Hiding Buttons in the Status Bar</title>
      <link>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8537952#M23741</link>
      <description>&lt;P&gt;Can anyone please tell me how to programmatically hide buttons in the Status bar?&lt;/P&gt;
&lt;P&gt;I've set the visibility of all panes in the Application.StatusBar object to False but my status bar still looks like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="StatusBar.PNG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/593495i022EE2C18A233917/image-size/medium?v=v2&amp;amp;px=400" role="button" title="StatusBar.PNG" alt="StatusBar.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is for an OEM application and we're not supporting customising the interface and some other stuff so I need to remove the last four ideally but I can't see anywhere to access them.&lt;/P&gt;
&lt;P&gt;There's a Status bar on the document too but setting them all to false also has no effect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another object I need to go through? I don't really want to hide the entire status bar (not that I can see how to do that either) as the user can still use the OSnap stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 16:14:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8537952#M23741</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2019-01-21T16:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Buttons in the Status Bar</title>
      <link>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8538187#M23742</link>
      <description>&lt;P&gt;AutoCAD's StatusBar object contains 2 collections of items: Panes and TrayItems. That is, not all items you see is a Pane, some of them are Panes, some of them are TrayItems (though, both are derived from StatusBarItem, which has a property VIsible). Usually, the items with text in it is a Pane, the item only showing an icon is TrayItem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, you need to go through both collections and set each item in each collection with Visibile = False&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 17:41:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8538187#M23742</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2019-01-21T17:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Buttons in the Status Bar</title>
      <link>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8539845#M23743</link>
      <description>&lt;P&gt;Thanks Norman&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 10:29:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/8539845#M23743</guid>
      <dc:creator>Paulio</dc:creator>
      <dc:date>2019-01-22T10:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Buttons in the Status Bar</title>
      <link>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/12081568#M23744</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is there a way to select a specific pane to switch the visibilty to false or to true.&lt;/P&gt;&lt;P&gt;I cannot identify for example the snap-pane.&lt;/P&gt;&lt;P&gt;Regards Jürgen&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 17:12:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/12081568#M23744</guid>
      <dc:creator>Juergen_Becker</dc:creator>
      <dc:date>2023-07-05T17:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding Buttons in the Status Bar</title>
      <link>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/12082922#M23745</link>
      <description>&lt;P&gt;Hi Juergen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's definitely not easy to identify specific panes. I went through a painstaking process of turning each one off (using Panes[n].visible = false) to identify which was which.&lt;/P&gt;&lt;P&gt;I think the 2D snap pane is number 19, so you would hide it like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;StatusBar bar = Application.StatusBar;
bar.Panes[19].Visible = false;&lt;/LI-CODE&gt;&lt;P&gt;There might be an easier way to identify them, but if there is, I'm not aware of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 07:54:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/hiding-buttons-in-the-status-bar/m-p/12082922#M23745</guid>
      <dc:creator>paul_mace</dc:creator>
      <dc:date>2023-07-06T07:54:15Z</dc:date>
    </item>
  </channel>
</rss>

