<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to hide butt&#111;ns at start-up?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to hide butt&#111;ns at start-up?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:33:52 +0000</pubDate>
  <lastBuildDate>Fri, 12 Mar 2004 17:00:11 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=522</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : Thanks you!!! What would I do...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1325&amp;title=how-to-hide-buttons-at-startup#1325</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=405">tanyakut</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 5:00pm<br /><br />Thanks you!!! What would I do without you ? <IMG src="http://forum.codejock.com/smileys/smiley31.gif" border="0">]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 17:00:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1325&amp;title=how-to-hide-buttons-at-startup#1325</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : The &amp;#034;AddHiddenCommand&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1324&amp;title=how-to-hide-buttons-at-startup#1324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 4:26pm<br /><br />The "AddHiddenCommand" marks a control a used infrequently.&nbsp; Thismakes the control not be displayed in the active menu bar popups untilthe arrow button is clicked to display all controls, both frequent andnon-frequent.&nbsp; This works just like the Windows XP start menu, ithides all programs that have not been used in a long time, then youneed to hit the arrow button to display all programs.<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"> ]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 16:26:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1324&amp;title=how-to-hide-buttons-at-startup#1324</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : Have you ever used &amp;#034;AddHiddenCommand&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1323&amp;title=how-to-hide-buttons-at-startup#1323</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=405">tanyakut</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 4:01pm<br /><br />Have you ever used&nbsp; "AddHiddenCommand" method?&nbsp;&nbsp; ]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 16:01:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1323&amp;title=how-to-hide-buttons-at-startup#1323</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : With great power comes great responsibility!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1322&amp;title=how-to-hide-buttons-at-startup#1322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 3:30pm<br /><br /><P>With great power comes great responsibility! </P><P>At least you have options. If you think it's too complicated for your users, then maybe don't allow them to customize. </P><P>In our case, we are only allowing system administrators to customize. </P><P>Also, although there is no official standard, the adding and removing of buttons with the codejock stuff acts pretty much like any other toolbar (vb, word, etc.)</P><P>Glad you got it working.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 15:30:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1322&amp;title=how-to-hide-buttons-at-startup#1322</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : You are right! It worked...But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1321&amp;title=how-to-hide-buttons-at-startup#1321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=405">tanyakut</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 3:16pm<br /><br />You are right! It worked...But I am afraid that this toolbar is too advanced for my users. If it was not very clear for me what to do, I am afraid they would be so irritated!&nbsp; It is a great toolbar but it requires help not only for the developers but for the users as well.&nbsp;]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 15:16:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1321&amp;title=how-to-hide-buttons-at-startup#1321</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : You should be able to remove one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1320&amp;title=how-to-hide-buttons-at-startup#1320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 3:07pm<br /><br /><P>You should be able to remove one button at a time by dragging the control off the toolbar into the application work area while in 'customize' mode.</P><P>I don't know why the check/uncheck buttons are disabled, but this is normal behaviour. It was maybe just a judgement call by CodeJock?</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 15:07:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1320&amp;title=how-to-hide-buttons-at-startup#1320</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : Thanks a lot for your help. Another...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1319&amp;title=how-to-hide-buttons-at-startup#1319</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=405">tanyakut</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 3:01pm<br /><br /><P>Thanks a lot for your help.&nbsp; Another question for you!</P><P>I am using designer. When I ran application I used "customize" option and dragged 5 controls to the toolbar window. They showed up. I was so happy! But later I could not get rid of them.. The only option was to use "RESET" button... What if I wanted to remove only one button? Why the control and its "check/uncheck" buttons are &nbsp;disabled? </P>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 15:01:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1319&amp;title=how-to-hide-buttons-at-startup#1319</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : SuperMario is right. I forgot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1316&amp;title=how-to-hide-buttons-at-startup#1316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 1:18pm<br /><br /><P>SuperMario is right. I forgot that in the current release, controls added throgh code don't show up in the customize menu. The next release handles this very well.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 13:18:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1316&amp;title=how-to-hide-buttons-at-startup#1316</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : I have only tried this with buttons...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1315&amp;title=how-to-hide-buttons-at-startup#1315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 1:13pm<br /><br /><P>I have only tried this with buttons added through code and not the designer:</P><P>Set the .visible property to false when adding the control.</P><P>When dragging the tool from the customize menu, it sets the .visible property to true.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 13:13:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1315&amp;title=how-to-hide-buttons-at-startup#1315</guid>
  </item> 
  <item>
   <title><![CDATA[How to hide butt&#111;ns at start-up? : If you are using a CommandBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1314&amp;title=how-to-hide-buttons-at-startup#1314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 522<br /><strong>Posted:</strong> 12 March 2004 at 1:12pm<br /><br />If you are using a CommandBar&nbsp; created in designer studio all youhave to do is add all of the controls to the "Controls" window in theupper right corner.&nbsp; Just drag all unwanted controls into the"Controls" window and they will be added to the "customization" menu.<br><br>If you creating the CommandBar via code you can do something similar inthe next relese.&nbsp; You would add all of the controls to theDesignerControls property (done in a CommandBar event calledCustomization) that would be displayed in the Customization menu.&nbsp;Then you would only add the buttons needed at startup to theCommandBar.&nbsp; With the current release the "Customization" menu isnot functional with a CommandBar created via code.&nbsp; So you wouldhave to add all of the controls to the toolbar and&nbsp; change the"Visible" property to true or false.&nbsp; Below is an example thatadds the "File" activemenubar control and has 2 controls not visible.<br><br>&nbsp;Dim Control As CommandBarControl<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set ControlFile =CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&amp;File",-1, &nbsp;&nbsp;&nbsp; False)<br><br>&nbsp;&nbsp;&nbsp; With ControlFile.CommandBar.Controls<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_NEW, "&amp;New", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_OPEN, "&amp;Open", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Visible = False<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_FILE_SAVE, "&amp;Save", -1, False<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control =.Add( xtpControlButton, ID_FILE_CLOSE, "&amp;Close", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Visible = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_FILE_PRINT, "&amp;Print", -1, False)<br>&nbsp;&nbsp;&nbsp; End With<br><br>Hope this helps.<img src="http://forum.codejock.com/smileys/smiley17.gif" border="0"><br>]]>
   </description>
   <pubDate>Fri, 12 Mar 2004 13:12:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=522&amp;PID=1314&amp;title=how-to-hide-buttons-at-startup#1314</guid>
  </item> 
 </channel>
</rss>