<?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 : Toolbars on 1 row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbars on 1 row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 00:37:51 +0000</pubDate>
  <lastBuildDate>Thu, 04 Aug 2011 10:45:26 +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=18768</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[Toolbars on 1 row : Hi Steve,Glad the code helped...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65716&amp;title=toolbars-on-1-row#65716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18768<br /><strong>Posted:</strong> 04 August 2011 at 10:45am<br /><br />Hi Steve,<br><br>Glad the code helped even though you required to convert this to C#. You might be best to add the code to this post, especially as in the near future I might be using the Codejock Suite in C#. So I will need all the help I can get! <img src="http://forum.codejock.com/smileys/smiley36.gif" border="0" alt="LOL" title="LOL" /><br>]]>
   </description>
   <pubDate>Thu, 04 Aug 2011 10:45:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65716&amp;title=toolbars-on-1-row#65716</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbars on 1 row :   Hi Xander... thanks... I did...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65715&amp;title=toolbars-on-1-row#65715</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1632">SteveStraley</a><br /><strong>Subject:</strong> 18768<br /><strong>Posted:</strong> 04 August 2011 at 10:42am<br /><br />Hi Xander... thanks... I did the translation to C#.<div>&nbsp;</div><div>The trick, in case anyone tries this, is that the toolbar to be re-positioned needs to happen after the main window has been "drawn" or "shown".&nbsp;&nbsp; For example, I did the call within the "load" of the main window with the command bars and it didn't work... when I moved the call to the&nbsp;method that is triggered when the main window/command bars are shown, it did work...</div><div>&nbsp;</div><div>Mega thanks... if people want the converted C# code, let me know!!!!</div>]]>
   </description>
   <pubDate>Thu, 04 Aug 2011 10:42:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65715&amp;title=toolbars-on-1-row#65715</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbars on 1 row : Hi,It can be done by using the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65688&amp;title=toolbars-on-1-row#65688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18768<br /><strong>Posted:</strong> 04 August 2011 at 3:30am<br /><br />Hi,<br><br>It can be done by using the following code:<br><br><table width="99%"><tr><td><pre class="BBcode"><font color="#009933">' How to use...<br>' Call DockRightOf(ToolBar1, </font><font color="#009933">ToolBar2</font><font color="#009933">)</font><br><br><font color="#0000CC">Private Sub</font> DockRightOf(BarOnLeft <font color="#0000CC">As </font>CommandBar, BarToDock <font color="#0000CC">As </font>CommandBar)<br>&nbsp;&nbsp;&nbsp; <font color="#0000CC">Dim </font>Bottom <font color="#0000CC">As Long, </font>Left <font color="#0000CC">As Long</font>, Right <font color="#0000CC">As Long</font>, Top <font color="#0000CC">As Long</font><br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CommandBars.RecalcLayout<br>&nbsp;&nbsp;&nbsp; BarOnLeft.GetWindowRect Left, Top, Right, Bottom<br>&nbsp;&nbsp;&nbsp; CommandBars.DockToolBar BarToDock, Right, (Bottom + Top) / 2, BarOnLeft.Position<br><font color="#0000CC">End Sub</font><br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Thu, 04 Aug 2011 03:30:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65688&amp;title=toolbars-on-1-row#65688</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbars on 1 row : Hi Everyone,Maybe I have had enough...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65666&amp;title=toolbars-on-1-row#65666</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1632">SteveStraley</a><br /><strong>Subject:</strong> 18768<br /><strong>Posted:</strong> 03 August 2011 at 11:56am<br /><br />Hi Everyone,<br><br>Maybe I have had enough coffee yet.&nbsp;&nbsp; I need help figuring this out.&nbsp;&nbsp; I have 2 instances of a TOOLBAR and I want them to appear on the same row with one another.&nbsp;&nbsp; If I assign them both XTPBarPosition.xtpBarTop then one appears at the top most available row in the wind and the second appears right under the first...<br><br>Ideas?<br><br>Thanks,<br><br>Steve<br>]]>
   </description>
   <pubDate>Wed, 03 Aug 2011 11:56:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18768&amp;PID=65666&amp;title=toolbars-on-1-row#65666</guid>
  </item> 
 </channel>
</rss>