<?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 : Positioning a CXTPToolBar next to another one</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Positioning a CXTPToolBar next to another one]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:29:48 +0000</pubDate>
  <lastBuildDate>Mon, 23 Jul 2007 19:36:00 +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=7648</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[Positioning a CXTPToolBar next to another one : Ok  I found the answer .......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7648&amp;PID=24631&amp;title=positioning-a-cxtptoolbar-next-to-another-one#24631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1807">JamesL</a><br /><strong>Subject:</strong> 7648<br /><strong>Posted:</strong> 23 July 2007 at 7:36pm<br /><br />Ok<DIV>&nbsp;</DIV><DIV>I found the answer .... so simple I just got lost in the docs and missed it.</DIV><DIV><FONT size=2><FONT size=2><P>DockRightOf(pToolBarRules,pToolBar);</P></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 23 Jul 2007 19:36:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7648&amp;PID=24631&amp;title=positioning-a-cxtptoolbar-next-to-another-one#24631</guid>
  </item> 
  <item>
   <title><![CDATA[Positioning a CXTPToolBar next to another one : Hi I am trying to position 2...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7648&amp;PID=24630&amp;title=positioning-a-cxtptoolbar-next-to-another-one#24630</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1807">JamesL</a><br /><strong>Subject:</strong> 7648<br /><strong>Posted:</strong> 23 July 2007 at 7:09pm<br /><br /><P>Hi</P><DIV>I am trying to position 2 toolbars horizontally next to each other when my app starts.</DIV><DIV>&nbsp;</DIV><DIV></DIV>here is a code fragment:<FONT size=2><P>CXTPCommandBars* pCommandBars = GetCommandBars();</P><DIV><FONT size=2><P></FONT><FONT color=#008000 size=2>// Create Standard ToolBar</P></FONT><FONT size=2><P>CXTPToolBar* pToolBar = (CXTPToolBar*)&nbsp; pCommandBars-&gt;Add(_T(</FONT><FONT color=#a31515 size=2>"Standard"</FONT><FONT size=2>), xtpBarTop);</P></FONT><DIV></DIV><FONT color=#008000 size=2>// Create Rules ToolBar</DIV><DIV></FONT><FONT size=2>CXTPToolBar* pToolBarRules = (CXTPToolBar*) pCommandBars-&gt;Add(_T(</FONT><FONT color=#a31515 size=2>"Rules"</FONT><FONT size=2>), xtpBarTop);</FONT></DIV><DIV><FONT size=2>&nbsp;</DIV><DIV></DIV>The 2nd toolbar gets created underneath the 1st. <DIV></DIV>so my question is how can I reposition the 2nd toolbar to the right of the 1st.<DIV>&nbsp;</DIV><DIV>I have tried pToolBarRules-&gt;MoveWindow(...</DIV><DIV>and pToolBarRules-&gt;SetWindowPos(...</DIV><DIV>but they had little effect</DIV><DIV>&nbsp;</DIV><DIV><DIV></DIV>thanks</DIV><DIV>James</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Mon, 23 Jul 2007 19:09:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7648&amp;PID=24630&amp;title=positioning-a-cxtptoolbar-next-to-another-one#24630</guid>
  </item> 
 </channel>
</rss>