<?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 : Solved: DoDockBottomOf ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Solved: DoDockBottomOf ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 01 Jun 2026 22:52:37 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jul 2008 11:23:06 +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=11582</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[Solved: DoDockBottomOf ? :  Duh.cmd.DockToolBar BarToDock,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11582&amp;PID=38897&amp;title=solved-dodockbottomof#38897</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 11582<br /><strong>Posted:</strong> 25 July 2008 at 11:23am<br /><br />Duh.<br><br><font size="1">cmd.DockToolBar BarToDock, (Right + Left) / 2, Bottom, BarOnTop.Position</font><br>]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 11:23:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11582&amp;PID=38897&amp;title=solved-dodockbottomof#38897</guid>
  </item> 
  <item>
   <title><![CDATA[Solved: DoDockBottomOf ? :   This function will attach...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11582&amp;PID=38896&amp;title=solved-dodockbottomof#38896</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4315">JasonG</a><br /><strong>Subject:</strong> 11582<br /><strong>Posted:</strong> 25 July 2008 at 10:57am<br /><br /><font size="1"><font size="2">This function will attach two commandbars to eachother, side by side..... </font><br><br><font color="#990000">Private Sub doDockRightOf(BarToDock As CommandBar, BarOnLeft As CommandBar, cmd As CommandBars)<br>&nbsp;&nbsp;&nbsp; Dim Left As Long<br>&nbsp;&nbsp;&nbsp; Dim Top As Long<br>&nbsp;&nbsp;&nbsp; Dim Right As Long<br>&nbsp;&nbsp;&nbsp; Dim Bottom As Long<br><br><br>&nbsp;&nbsp;&nbsp; cmd.RecalcLayout<br>&nbsp;&nbsp;&nbsp; BarOnLeft.GetWindowRect Left, Top, Right, Bottom<br>&nbsp;&nbsp;&nbsp; cmd.DockToolBar BarToDock, Right, (Bottom + Top) / 2, BarOnLeft.Position<br>End Sub</font></font><br><br><br>What X &amp; Y coordinates would I use if I wanted to dock two bars, one below the other, on the right side of the window? The "BarOnTop" is already set to position=BarRight..<br><br><font color="#990000" size="1">Private Sub doDockBottomOf(BarToDock As CommandBar, BarOnTop As CommandBar, cmd As CommandBars)<br>&nbsp;&nbsp;&nbsp; Dim Left As Long<br>&nbsp;&nbsp;&nbsp; Dim Top As Long<br>&nbsp;&nbsp;&nbsp; Dim Right As Long<br>&nbsp;&nbsp;&nbsp; Dim Bottom As Long<br><br><br>&nbsp;&nbsp;&nbsp; cmd.RecalcLayout<br>&nbsp;&nbsp;&nbsp; BarOnTop.GetWindowRect Left, Top, Right, Bottom<br>&nbsp;&nbsp;&nbsp; cmd.DockToolBar BarToDock, </font><font color="#ff0000" size="1"><font size="7">?</font></font><font color="#990000" size="1">, <font color="#ff0000" size="7">?</font>, BarOnTop.Position<br><br>End Sub</font><br>]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 10:57:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11582&amp;PID=38896&amp;title=solved-dodockbottomof#38896</guid>
  </item> 
 </channel>
</rss>