<?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 : Ribbonbar Not Fully Left</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Ribbonbar Not Fully Left]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 22:33:20 +0000</pubDate>
  <lastBuildDate>Thu, 06 Dec 2007 10:28:07 +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=9020</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[Ribbonbar Not Fully Left : Found the answer, sorry, this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9020&amp;PID=29217&amp;title=ribbonbar-not-fully-left#29217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3513">StephenW</a><br /><strong>Subject:</strong> 9020<br /><strong>Posted:</strong> 06 December 2007 at 10:28am<br /><br />Found the answer, sorry, this thread can be closed.<DIV>&nbsp;</DIV><DIV>For anyone else wanting to know you have to set the commandbar to the dockingpane control so it knows it exists :</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Call objDockingManager.SetCommandBars(objCommandbars)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Many thanks</DIV>]]>
   </description>
   <pubDate>Thu, 06 Dec 2007 10:28:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9020&amp;PID=29217&amp;title=ribbonbar-not-fully-left#29217</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbonbar Not Fully Left : Hello I have added a pane to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9020&amp;PID=29210&amp;title=ribbonbar-not-fully-left#29210</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3513">StephenW</a><br /><strong>Subject:</strong> 9020<br /><strong>Posted:</strong> 06 December 2007 at 5:10am<br /><br /><P>Hello</P><DIV>I have added a pane to a VB6 project that has had a ribbon bar added to it.&nbsp; The layout was fine until the pane was added, docked to nothing on the left, but now the top ribbonbar is not against the left edge, but moved out to the right edge of the pane.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071206_050738_Pane.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I cannot seem to find how to make it so the ribbonbar is fully left and not starting at the right edge of the pane.</DIV><DIV>&nbsp;</DIV><DIV>I suspect it may be something to do with this code :</DIV><DIV>&nbsp;</DIV><DIV>Private Sub objDockingManager_GetClientBordersWidth(Left As Long, Top As Long, Right As Long, Bottom As Long)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim lngLeft As Long<BR>&nbsp;&nbsp;&nbsp; Dim lngTop As Long<BR>&nbsp;&nbsp;&nbsp; Dim lngRight As Long<BR>&nbsp;&nbsp;&nbsp; Dim lngBottom As Long</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; ' Find the height of the statusbar<BR>&nbsp;&nbsp;&nbsp; If staMain.Visible Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bottom = staMain.Height<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;&nbsp;&nbsp; ' Find the height of the command bar<BR>&nbsp;&nbsp;&nbsp; If objCommandbars.ActiveMenuBar.Visible Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call objCommandbars.ActiveMenuBar.GetWindowRect(lngLeft, lngTop, lngRight, lngBottom)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Top = lngBottom<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;</DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The GetWindowRect seems to work fine for the bottom position of the ribbonbar.&nbsp; Do I need to somehow set the left and right values also, and if so to what ?</DIV><DIV>&nbsp;</DIV><DIV>Many thanks for your help</DIV>]]>
   </description>
   <pubDate>Thu, 06 Dec 2007 05:10:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9020&amp;PID=29210&amp;title=ribbonbar-not-fully-left#29210</guid>
  </item> 
 </channel>
</rss>