<?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 : Two toolbars in a row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Two toolbars in a row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 16:29:39 +0000</pubDate>
  <lastBuildDate>Thu, 31 Mar 2005 09:45:34 +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=2062</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[Two toolbars in a row : Yes, you can.  &amp;#039;This code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2062&amp;PID=6043&amp;title=two-toolbars-in-a-row#6043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 2062<br /><strong>Posted:</strong> 31 March 2005 at 9:45am<br /><br />Yes, you can.<br><br>'This code adds the toolbars,<br>&nbsp;&nbsp;Dim ToolBar As CommandBar<br>&nbsp;&nbsp;<br>&nbsp;&nbsp;Set ToolBar = CommandBars.Add("Standard", xtpBarTop)<br>&nbsp;&nbsp;With ToolBar.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;.............&nbsp;<br>&nbsp;&nbsp;End With<br>&nbsp;&nbsp;<br>&nbsp;&nbsp;Dim ExtendedBar As CommandBar<br>&nbsp;&nbsp;Set ExtendedBar = CommandBars.Add("Extended", xtpBarTop)<br>&nbsp;&nbsp;With ExtendedBar.Controls<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...........&nbsp ;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;End With<br>&nbsp;&nbsp;&nbsp;<br>'This code docks a toolbar to the right of another toolbar<br>&nbsp;&nbsp;DockRightOf ExtendedBar, ToolBar, False<br><br>'This is the code for the DockRightOf function<br>Private Sub DockRightOf(BarToDock As CommandBar, BarOnLeft As CommandBar, Optional VerticalBar As Boolean = False)<br>&nbsp;&nbsp;Dim Left As Long<br>&nbsp;&nbsp;Dim Top As Long<br>&nbsp;&nbsp;Dim Right As Long<br>&nbsp;&nbsp;Dim Bottom As Long<br>&nbsp;&nbsp;<br>&nbsp;&nbsp;CommandBars.RecalcLayout<br>&nbsp;&nbsp;BarOnLeft.GetWindowRect Left, Top, Right, Bottom<br>&nbsp;&nbsp;<br>&nbsp;&nbsp;If (Not VerticalBar) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.DockToolBar BarToDock, Right, (Bottom + Top) / 2, BarOnLeft.Position<br>&nbsp;&nbsp;Else<br>&nbsp;&nbsp;&nbsp;&nbsp;CommandBars.DockToolBar BarToDock, (Left + Right) / 2, Bottom, BarOnLeft.Position<br>&nbsp;&nbsp;End If<br>End Sub &nbsp;]]>
   </description>
   <pubDate>Thu, 31 Mar 2005 09:45:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2062&amp;PID=6043&amp;title=two-toolbars-in-a-row#6043</guid>
  </item> 
  <item>
   <title><![CDATA[Two toolbars in a row : Is it possible to create programatically...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2062&amp;PID=6041&amp;title=two-toolbars-in-a-row#6041</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1077">Sebastià</a><br /><strong>Subject:</strong> 2062<br /><strong>Posted:</strong> 31 March 2005 at 9:41am<br /><br />Is it possible to create programatically two toolbars in a row?<br><br>Thanks in advence<br><br>Sebastià<br>]]>
   </description>
   <pubDate>Thu, 31 Mar 2005 09:41:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2062&amp;PID=6041&amp;title=two-toolbars-in-a-row#6041</guid>
  </item> 
 </channel>
</rss>