<?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 change toolbars at runtime</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to change toolbars at runtime]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:55:10 +0000</pubDate>
  <lastBuildDate>Tue, 29 Jul 2008 01:39:54 +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=11622</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 change toolbars at runtime : Hi,  Create all 3 toobars, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11622&amp;PID=39026&amp;title=how-to-change-toolbars-at-runtime#39026</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11622<br /><strong>Posted:</strong> 29 July 2008 at 1:39am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Create all 3 toobars, but hide and show them when you switch views.</DIV>]]>
   </description>
   <pubDate>Tue, 29 Jul 2008 01:39:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11622&amp;PID=39026&amp;title=how-to-change-toolbars-at-runtime#39026</guid>
  </item> 
  <item>
   <title><![CDATA[How to change toolbars at runtime : Hi,I&amp;#039;m porting my application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11622&amp;PID=39005&amp;title=how-to-change-toolbars-at-runtime#39005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4380">Luigi</a><br /><strong>Subject:</strong> 11622<br /><strong>Posted:</strong> 28 July 2008 at 1:04pm<br /><br />Hi,<br>I'm porting my application to XTP and I've a problem. My application has a "explorer-like" layout with a tree on the left part and a view on the right.<br><br>There exists three types (read classess) of view and each one is bound to a specific menu and toolbar layout.<br><br>The first part about the menu exchange was easy to port, with the following code:<br>CXTPCommandBars* pCommandBars = pFrameWnd-&gt;GetCommandBars();<br>CXTPMenuBar&nbsp;&nbsp;&nbsp; *pMenuBar = pCommandBars-&gt;GetMenuBar();<br>pMenuBar-&gt;LoadMenu( &amp;menu);<br><br>where menu is the CMenu object with the menu associated to the view.<br><br>For the second part, I'd like to share toolbars definitions among the views and let the user to customize the toolbar contents and number in a per application basis and toolbar visibility in a per view basis. <br><br>For example, if I have two toolbars, in the view type 1 the user could see them both, in view type 2 he could see only the first and in view type 3 he could see only the second.<br><br>I don't konw how to proceed. Help me.<br>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 13:04:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11622&amp;PID=39005&amp;title=how-to-change-toolbars-at-runtime#39005</guid>
  </item> 
 </channel>
</rss>