<?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 : Command bars - multiple sites</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Command bars - multiple sites]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 00:22:03 +0000</pubDate>
  <lastBuildDate>Thu, 07 Feb 2008 00:54:29 +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=9476</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[Command bars - multiple sites : Here&amp;#039;s what I did so I could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9476&amp;PID=30906&amp;title=command-bars-multiple-sites#30906</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 9476<br /><strong>Posted:</strong> 07 February 2008 at 12:54am<br /><br />Here's what I did so I could continue to use designer, but it has some limitations (it can't be customized in-place, it can't be undocked/redocked, and commands control notifications come directly to the view):<br><br>In my view's OnSize:<br><br>&nbsp;&nbsp;&nbsp; if (!m_toolscopied) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPFrameWnd *pframe = (CXTPFrameWnd *)GetParent();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPCommandBars *pcmdbars = pframe-&gt;GetCommandBars();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pcmdbars) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPToolBar *ptbar = pcmdbars-&gt;GetToolBar(TBR_VIEW);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (ptbar) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPControls *pcontrols = ptbar-&gt;GetControls()-&gt;Duplicate(TRUE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_toolbar.SetControls(pcontrols);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_toolscopied = TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>I think it would good to be able to have multiple docking sites for a single CommandBars.<br><br>]]>
   </description>
   <pubDate>Thu, 07 Feb 2008 00:54:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9476&amp;PID=30906&amp;title=command-bars-multiple-sites#30906</guid>
  </item> 
  <item>
   <title><![CDATA[Command bars - multiple sites : You can create these toolbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9476&amp;PID=30761&amp;title=command-bars-multiple-sites#30761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9476<br /><strong>Posted:</strong> 03 February 2008 at 4:04am<br /><br />You can create these toolbars manually using Ids from designer: <DIV>&nbsp;</DIV><DIV>pToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, Id);</DIV>]]>
   </description>
   <pubDate>Sun, 03 Feb 2008 04:04:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9476&amp;PID=30761&amp;title=command-bars-multiple-sites#30761</guid>
  </item> 
  <item>
   <title><![CDATA[Command bars - multiple sites : I have used Command Bars Designer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9476&amp;PID=30748&amp;title=command-bars-multiple-sites#30748</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 9476<br /><strong>Posted:</strong> 02 February 2008 at 6:15pm<br /><br />I have used Command Bars Designer to design some command bars for my application. These load and display fine.<br><br>However, I would like to use some of the command bars in panes, rather than in the main frame, but still have all defined controls available for customization of any of the command bars, without having to include them multiple times.<br><br>Can you point me to an example, or suggest the easiest way to change the docking site of some of the command bars?<br><br><br>]]>
   </description>
   <pubDate>Sat, 02 Feb 2008 18:15:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9476&amp;PID=30748&amp;title=command-bars-multiple-sites#30748</guid>
  </item> 
 </channel>
</rss>