<?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 : Add or Remove Butt&#111;ns vs Customize Dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Add or Remove Butt&#111;ns vs Customize Dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 02:54:36 +0000</pubDate>
  <lastBuildDate>Fri, 24 Feb 2006 08:27:24 +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=3527</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[Add or Remove Butt&#111;ns vs Customize Dialog : There is nothing to fix, you just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11166&amp;title=add-or-remove-buttons-vs-customize-dialog#11166</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 24 February 2006 at 8:27am<br /><br /><P>There is nothing to fix, you just don't understand basic idea. </P><P>Reset button do the thing that it must do - Revert all changes was done after last EnableCustomization call.</P><P>See this sample and make same in your application.</P><P><A href="https://forum.codejock.com/uploads/oleg/2006-02-24_082152_ds.zip" target="_blank">2006-02-24_082152_ds.zip</A></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 24 Feb 2006 08:27:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11166&amp;title=add-or-remove-buttons-vs-customize-dialog#11166</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog :   oleg wrote:Replace it to  C...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11146&amp;title=add-or-remove-buttons-vs-customize-dialog#11146</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 23 February 2006 at 6:27pm<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>Replace it to </p><br /><p>CommandBars.LoadDesignerBarsCommandBars.FindControl(, ID_FILE_PROPERTIES, , True).Visible = FalseCommandBars.EnableCustomization True&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.LoadCommandBars "Codejock Software ActiveX Demos", App.Title, "Layout"</p><br /><p>to fix it.</p></td></tr></table> <br /><br />Your fix is something I had considered (if you read the previous posts I have made in this thread). What it means is that whenever the visible state of a control needs to be changed, I need to call EnableCustomisation. As I said here:<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by dajv" alt="Originally posted by dajv" style="vertical-align: text-bottom;" /> <strong>dajv wrote:</strong><br /><br /><br /><em>As I would expect is pretty standard among many applications, certain buttons are hidden from the user depending on the context they are in. These hidden controls SHOULD NOT appear in either the toolbar submenu of the "Add or Remove Buttons" menu or when the customize dialog is shown.</em></td></tr></table> <br /><br />The visible state of controls change depending on the context a user is in. <br /><br /><br />Lets take Outlook as an example of this.<br />1) Go to Inbox. Assuming you haven't customised the toolbar, the following toolbar will be shown:<br /><img src="uploads/dajv/2006-02-23_181647_mail_-_toolbar.gif" border="0"><br /><br />2) Go to Calendar. Assuming you haven't customised the toolbar, the following toolbar will be shown:<br /><img src="uploads/dajv/2006-02-23_181727_calendar_-_toolbar.gif" border="0"><br /><br />This is a pretty standard way for an application to behave. CodeJock needs to support this behaviour. <em>(Edit: What I mean by support, is that when you Reset the toolbar in Outlook, it does NOT show the menu items from Calendar if you are in Mail, for example. With the CodeJock CommandBars, this DOES happen, as I showed in previous screenshots.)</em><br /><br />The thing to notice here is that the toolbars are different based on the context. One is in Mail, the other is in Calendar. The user can go back and forth between these. This means the visible state of the controls needs to change. Using your fix, this means calling EnableCustomization after every change. This means that whenever the user "resets" their toolbar, the point it will be reset back to will be the last time the visible state of a control changed. Since this is going to be often, the reset becomes useless.<br /><br />All this is a reiteration of things I have already said in previous posts in this thread.<br /><br />I feel we are going around in circles here. This is something that really needs to be fixed, and I can imagine we are not the only ones who suffer from this - if others were to test their this part of their application they would see this is how the CodeJock control behaves.<br /><br />We are getting close to release and we cannot release our software with this bug. Here is what I propose:<br /><br />You provide a setting to hide the "Reset" button on the customise toolbar menu. This means that the only way a user can reset is by using the Customize dialog.<br /><br />Remember that the problem we are talking about here is caused by being able to reset the toolbar from this menu. See my previous posts for more information about this.]]>
   </description>
   <pubDate>Thu, 23 Feb 2006 18:27:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11146&amp;title=add-or-remove-buttons-vs-customize-dialog#11146</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog : Replace it to  CommandBars.Lo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11126&amp;title=add-or-remove-buttons-vs-customize-dialog#11126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 23 February 2006 at 7:57am<br /><br /><P>Replace it to </P><P>CommandBars.LoadDesignerBars<BR>CommandBars.FindControl(, ID_FILE_PROPERTIES, , True).Visible = False<BR>CommandBars.EnableCustomization True<BR>&nbsp;&nbsp;&nbsp; <BR>CommandBars.LoadCommandBars "Codejock Software ActiveX Demos", App.Title, "Layout"<BR></P><P>to fix it.</P>]]>
   </description>
   <pubDate>Thu, 23 Feb 2006 07:57:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11126&amp;title=add-or-remove-buttons-vs-customize-dialog#11126</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog : Can I please get an answer to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11098&amp;title=add-or-remove-buttons-vs-customize-dialog#11098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 21 February 2006 at 6:50pm<br /><br />Can I please get an answer to the below? There is no way for me to work around the problem, and it really does need to be fixed before we release our software.<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by dajv" alt="Originally posted by dajv" style="vertical-align: text-bottom;" /> <strong>dajv wrote:</strong><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>You write a lot, but I don't understand your problem.</p><br /></td></tr></table> I like to make sure I describe it as fully as I can otherwise I get a different answer to a different question. Its better for me to include more information than less.<br /><br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>Simply point - </p><br /><p>- You _must_ call EnableCustomization only once after you create toolbars. </p></td></tr></table> OK.<br /><br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>- Buttons with Visible = False not appear in ""Add or Remove Buttons" menu"</p><br /><p>There is problem?</p></td></tr></table> Yes, they do appear in the "Add or Remove Buttons" menu after clicking "Reset". This can be seen in the CommandBars "Designer Sample I have modified and attached.<br /><br />Here is a picture, also:<br /><br /><img src="uploads/dajv/2006-01-19_003321_XCB.gif" border="0"><br /><br /><a href="uploads/dajv/2006-01-19_003424_DesignerSample.zip" target="_blank">2006-01-19_003424_DesignerSample.zip</a></td></tr></table> ]]>
   </description>
   <pubDate>Tue, 21 Feb 2006 18:50:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=11098&amp;title=add-or-remove-buttons-vs-customize-dialog#11098</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog :   SuperMario wrote:Actually,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10647&amp;title=add-or-remove-buttons-vs-customize-dialog#10647</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 23 January 2006 at 6:00pm<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />Actually, ShowExpandButtonAlways always hides the dropdown button.  This will not stop users from accessing button when the window is too small...a different type of button is shown then.  This will not stop users from accessing buttons that were visible when the window was expanded.<br /></td></tr></table> Well we're just playing with words now. It doesn't appear to be a different button to me, at all.<br /><br />I'm just repeating what we already know here, but when ShowExpandButtonAlways is True, the expand button is shown always. When there is not enough room to show all the controls, the expand button is also shown. The only difference is that it now also shows controls that can't fit in the window.<br /><br />ShowExpandButtonAlways = False simply stops the expand button from being shown when there is enough room to show all the controls. When there isn't enough room, the expand button is present.<br /><br />There needs to be a way of hiding the Add or Remove Buttons menu if the problem I have outlined above cannot be addressed.]]>
   </description>
   <pubDate>Mon, 23 Jan 2006 18:00:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10647&amp;title=add-or-remove-buttons-vs-customize-dialog#10647</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog : Actually, ShowExpandButtonAlways...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10641&amp;title=add-or-remove-buttons-vs-customize-dialog#10641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 23 January 2006 at 7:23am<br /><br />Actually, ShowExpandButtonAlways always hides the dropdown button.&nbsp; This will not stop users from accessing button when the window is too small...a different type of button is shown then.&nbsp; This will not stop users from accessing buttons that were visible when the window was expanded.]]>
   </description>
   <pubDate>Mon, 23 Jan 2006 07:23:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10641&amp;title=add-or-remove-buttons-vs-customize-dialog#10641</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog : Also, regarding hiding the Add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10637&amp;title=add-or-remove-buttons-vs-customize-dialog#10637</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 22 January 2006 at 6:40pm<br /><br />Also, regarding hiding the Add Or Remove Buttons menu, in this thread,<br /><a href="https://forum.codejock.com/forum_posts.asp?TID=2686&KW=expand" target="_blank"> https://forum.codejock.com/forum_posts.asp?TID=2686&KW=expan d</a><br />someone asks how to hide the "expand button" so as to hide the Add or Remove Buttons menu. As the property name suggests, ShowExpandButtonAlways only applies when the commandbar does not fit in the window. In this case, setting ShowExpandButtonAlways to false will only hide it when there is enough room to show the commandbar. Otherwise the user can still access the Add Or Remove Buttons menu.<br /><br />Is there a way to hide the Add or Remove Buttons menu all the time, without stopping the user from accessing controls on the commandbar that can't be shown because there isn't enough room?<br /><br />This would be a last resort if the problem outlined in the above posts can't be fixed.]]>
   </description>
   <pubDate>Sun, 22 Jan 2006 18:40:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10637&amp;title=add-or-remove-buttons-vs-customize-dialog#10637</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog : Please let me know if you&amp;#039;re...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10636&amp;title=add-or-remove-buttons-vs-customize-dialog#10636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 22 January 2006 at 3:41pm<br /><br />Please let me know if you're looking at this or if I need to make it any clearer.]]>
   </description>
   <pubDate>Sun, 22 Jan 2006 15:41:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10636&amp;title=add-or-remove-buttons-vs-customize-dialog#10636</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog :   oleg wrote:You write a lot,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10602&amp;title=add-or-remove-buttons-vs-customize-dialog#10602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 19 January 2006 at 12:34am<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>You write a lot, but I don't understand your problem.</p><br /></td></tr></table> I like to make sure I describe it as fully as I can otherwise I get a different answer to a different question. Its better for me to include more information than less.<br /><br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>Simply point - </p><br /><p>- You _must_ call EnableCustomization only once after you create toolbars. </p></td></tr></table> OK.<br /><br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>- Buttons with Visible = False not appear in ""Add or Remove Buttons" menu"</p><br /><p>There is problem?</p></td></tr></table> Yes, they do appear in the "Add or Remove Buttons" menu after clicking "Reset". This can be seen in the CommandBars "Designer Sample I have modified and attached.<br /><br />Here is a picture, also:<br /><br /><img src="uploads/dajv/2006-01-19_003321_XCB.gif" border="0"><br /><br /><a href="uploads/dajv/2006-01-19_003424_DesignerSample.zip" target="_blank">2006-01-19_003424_DesignerSample.zip</a>]]>
   </description>
   <pubDate>Thu, 19 Jan 2006 00:34:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10602&amp;title=add-or-remove-buttons-vs-customize-dialog#10602</guid>
  </item> 
  <item>
   <title><![CDATA[Add or Remove Butt&#111;ns vs Customize Dialog : You write a lot, but I don&amp;#039;tunderstand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10601&amp;title=add-or-remove-buttons-vs-customize-dialog#10601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3527<br /><strong>Posted:</strong> 19 January 2006 at 12:09am<br /><br /><P>You write a lot, but I don't&nbsp;understand your problem.</P><P>Simply point&nbsp;- </P><P>- You _must_ call EnableCustomization only once after you create toolbars. </P><P>- Buttons with Visible = False not appear in ""Add or Remove Buttons" menu"</P><P>There is problem?</P>]]>
   </description>
   <pubDate>Thu, 19 Jan 2006 00:09:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3527&amp;PID=10601&amp;title=add-or-remove-buttons-vs-customize-dialog#10601</guid>
  </item> 
 </channel>
</rss>