<?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 : Toolbar customize button..</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar customize button..]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 00:32:31 +0000</pubDate>
  <lastBuildDate>Wed, 15 Apr 2009 08:21:16 +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=14025</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[Toolbar customize button.. : Hi,  It doesn&amp;#039;t look like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14025&amp;PID=47941&amp;title=toolbar-customize-button#47941</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14025<br /><strong>Posted:</strong> 15 April 2009 at 8:21am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>It doesn't look like Expand button - too large. Mybe you customized standard toolbar class somehow ?</DIV>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 08:21:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14025&amp;PID=47941&amp;title=toolbar-customize-button#47941</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar customize button.. : Hi allI&amp;#039;ve got the following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14025&amp;PID=47927&amp;title=toolbar-customize-button#47927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3688">BobWansink</a><br /><strong>Subject:</strong> 14025<br /><strong>Posted:</strong> 15 April 2009 at 5:22am<br /><br />Hi all<br><br>I've got the following problem: Our dialogues can generate CXTPCommandBar's on their own. The dialogues add their own buttons, they don't use the LoadMenu function. Dialogues can have several toolbars. Each toolbar is added next to the other, and is located using "xtpBarTop". We use the following code (it's restructured a bit..):<br><br>&nbsp;&nbsp;&nbsp; CXTPCommandBars * pBars = GetCommandBars();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPToolBar* pToolBarButtons = (CXTPToolBar*) pBars-&gt;Add(someID, xtpBarTop);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPControls * pControls=pToolBarButtons-&gt;GetControls();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int q=0;q&lt;pTB-&gt;getAantalItems();q++)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ZXTPControlButton * pControlButton=new ZXTPControlButton(tbID,butID,pTBListener);&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pControls-&gt;Add(pControlButton);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;ShowExpandButton(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;SetShowGripper(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;SetCloseable(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;SetCustomizeDialogPresent(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;EnableCustomization(FALSE);<br><br>&nbsp;&nbsp;&nbsp; pBars-&gt;EnableCustomization(FALSE);<br>&nbsp; &nbsp; pBars-&gt;SetQuickCustomizeMode(FALSE);<br><br><br>This results in the following dialogue:<br><br><img src="uploads/20090415_050908_toolbarproblem.JPG" height="143" width="299" border="0"><br><br>Circled in purple is what we think is the customize menu, even though each toolbar is added with :<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;ShowExpandButton(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;SetCustomizeDialogPresent(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pToolBarButtons-&gt;EnableCustomization(FALSE);<br><br>How do we remove this?<br><br>Thanks in advance,<br><br>Bob<br><br><br><br><br>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 05:22:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14025&amp;PID=47927&amp;title=toolbar-customize-button#47927</guid>
  </item> 
 </channel>
</rss>