<?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 : Un-removing a button from the toolbar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Un-removing a button from the toolbar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 13:17:21 +0000</pubDate>
  <lastBuildDate>Mon, 10 Aug 2009 17:50:49 +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=14929</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[Un-removing a button from the toolbar : Got it to work. CXTPToolBar* pTBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51834&amp;title=unremoving-a-button-from-the-toolbar#51834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5336">tralfaz</a><br /><strong>Subject:</strong> 14929<br /><strong>Posted:</strong> 10 August 2009 at 5:50pm<br /><br />Got it to work.<br><br>&nbsp;&nbsp;&nbsp; CXTPToolBar* pTBar = pCommandBars-&gt;GetToolBar(IDR_CUSTOM_TOOLBAR);<br>&nbsp;&nbsp;&nbsp; if (pTBar) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControls* pControls = pTBar-&gt;GetControls();<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pControls-&gt;Add(XTPControlType::xtpControlButton, nID,&nbsp; ButtonText, nPos);<br>&nbsp;&nbsp;&nbsp; }<br>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 17:50:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51834&amp;title=unremoving-a-button-from-the-toolbar#51834</guid>
  </item> 
  <item>
   <title><![CDATA[Un-removing a button from the toolbar : There is no Add method for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51829&amp;title=unremoving-a-button-from-the-toolbar#51829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5336">tralfaz</a><br /><strong>Subject:</strong> 14929<br /><strong>Posted:</strong> 10 August 2009 at 3:04pm<br /><br />There is no Add method for the CXTPToolbar class. Perhaps you are confused. I want to make "pulled off" button visible again on a toolbar<br><br>Can you post some code?<br>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 15:04:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51829&amp;title=unremoving-a-button-from-the-toolbar#51829</guid>
  </item> 
  <item>
   <title><![CDATA[Un-removing a button from the toolbar : Yes, pulled off by the user in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51819&amp;title=unremoving-a-button-from-the-toolbar#51819</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5336">tralfaz</a><br /><strong>Subject:</strong> 14929<br /><strong>Posted:</strong> 10 August 2009 at 11:14am<br /><br />Yes, pulled off by the user in Customize mode.<br><br>It's interesting that the button item is still part of the toolbar, but not visible. Why do I need to add it? Can't I flip a switch?<br>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 11:14:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51819&amp;title=unremoving-a-button-from-the-toolbar#51819</guid>
  </item> 
  <item>
   <title><![CDATA[Un-removing a button from the toolbar : Hi,  By &amp;#034;pulled off&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51802&amp;title=unremoving-a-button-from-the-toolbar#51802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14929<br /><strong>Posted:</strong> 10 August 2009 at 3:22am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>By "pulled off" you mean moved by user during cutsomization ? if so you have add it again with Add method.</DIV>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 03:22:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51802&amp;title=unremoving-a-button-from-the-toolbar#51802</guid>
  </item> 
  <item>
   <title><![CDATA[Un-removing a button from the toolbar : If a button has been pulled off...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51749&amp;title=unremoving-a-button-from-the-toolbar#51749</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5336">tralfaz</a><br /><strong>Subject:</strong> 14929<br /><strong>Posted:</strong> 07 August 2009 at 6:18pm<br /><br />If a button has been pulled off a toolbar, what function do I call to get it back. I tried these:<br><br>pControl-&gt;SetHideFlag(XTPControlHideFlags:::xtpNoHide, true);<br>pControl-&gt;SetVisible(true);<br><br>neither of them brought back the button.<br><br>Thanks<br><br>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 18:18:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14929&amp;PID=51749&amp;title=unremoving-a-button-from-the-toolbar#51749</guid>
  </item> 
 </channel>
</rss>