<?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 : Positi&#111;n Dockingpane with CommandBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Positi&#111;n Dockingpane with CommandBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 11:47:10 +0000</pubDate>
  <lastBuildDate>Sun, 29 Feb 2004 12:51:18 +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=479</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[Positi&#111;n Dockingpane with CommandBar : Is sounds like a ZOrder method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1197&amp;title=position-dockingpane-with-commandbar#1197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 29 February 2004 at 12:51pm<br /><br />Is sounds like a ZOrder method needs to be added to the CommandBars,DockingPanes, and PropertyGrid controls.&nbsp; I have been searchingthrough the help and haven't sounds anyting like this so far.]]>
   </description>
   <pubDate>Sun, 29 Feb 2004 12:51:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1197&amp;title=position-dockingpane-with-commandbar#1197</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar : No you where absolutely right....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1195&amp;title=position-dockingpane-with-commandbar#1195</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 29 February 2004 at 12:29pm<br /><br /><P>No you where absolutely right. Without the DockingPaneManager.SetCommandBars Me.CommandBars this will not work, but if the ZOrder is not right, it does not work no matter what you do.</P><P>So if I set the above one line command,&nbsp;AND get the ZOrder right it works.</P><P>Thanks again,</P><P>Bjarne</P>]]>
   </description>
   <pubDate>Sun, 29 Feb 2004 12:29:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1195&amp;title=position-dockingpane-with-commandbar#1195</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar :  I see what you mean, I sent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1192&amp;title=position-dockingpane-with-commandbar#1192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 29 February 2004 at 11:37am<br /><br />I see what you mean, I sent the CommandBar to the back and my dockingpanes were docked above the CommandBar.&nbsp; But you should still need thatline of code I posted above when using CommandBar and DockingPane inthe same application.&nbsp; Take it out and you will see what Imean.&nbsp; I wasn't aware of the ZOrder problem, this sounds like abug to me.&nbsp; When you take that line out your docking pane shouldbe docked under the CommandBar, this is what I thought you were talkingabout.<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Sun, 29 Feb 2004 11:37:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1192&amp;title=position-dockingpane-with-commandbar#1192</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar : Found the Solution  I found a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1190&amp;title=position-dockingpane-with-commandbar#1190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 29 February 2004 at 6:15am<br /><br /><P>Found the Solution <IMG src="http://forum.codejock.com/smileys/smiley17.gif" border="0"></P><P>I found a solution to the problem. It is the ZOrder that determines what takes priority. Right clikking on the CommandBar and choosing 'Bring to Front' solved the problem. Now it works as expected.</P><P>Not sure if this is a bug, but at least it should be mentioned in the Documentation.</P><P>Thanks again for your help SuperMario</P><P>Bjarne</P>]]>
   </description>
   <pubDate>Sun, 29 Feb 2004 06:15:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1190&amp;title=position-dockingpane-with-commandbar#1190</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar : Hi again SuperMario, I just tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1189&amp;title=position-dockingpane-with-commandbar#1189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 29 February 2004 at 6:06am<br /><br /><P>Hi again SuperMario,</P><P>I just tried your suggestion, but it does not have any effect what so ever. The DockinPane behaves exactly as before, NOT setting the right Top for the Control.</P><P>If I use DockTopOf instead of DockRightOf&nbsp;the dockPane is placed at the top of the Form above the CommandBar. It seems like the DockPane always takes priority over the CommandBar, even though I load the CommandBar first. I am really puzzled about what to do, in what order <IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P><P>Bjarne</P>]]>
   </description>
   <pubDate>Sun, 29 Feb 2004 06:06:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1189&amp;title=position-dockingpane-with-commandbar#1189</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar :   I&amp;#039;m sorry bjarne, not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1177&amp;title=position-dockingpane-with-commandbar#1177</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 28 February 2004 at 2:46pm<br /><br />I'm sorry bjarne, not sure what I was thinking at the time.&nbsp; Allyou need to do is add this line of code in the Form_Load after your command bars anddocking panes are created and attached. <br><br>DockingPaneManager.SetCommandBars Me.CommandBars<br><br>Here is what is says in the help file:<br>"If you use both DockingPanes and CommandBars in the same form, associate the command bars with the docking pane manager using this property. This is necessary for correct resizing and layout of controls on the form."<br><br>This will fix your problem.&nbsp; I was trying to do this the hard way.<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"><br><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Sat, 28 Feb 2004 14:46:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1177&amp;title=position-dockingpane-with-commandbar#1177</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar : Hello SuperMario, Yes this what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1176&amp;title=position-dockingpane-with-commandbar#1176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 28 February 2004 at 2:09pm<br /><br /><P>Hello SuperMario,</P><P>Yes this what what I meant. And I did do what you described above, but for some odd reason it does not work on my form. When I resize the Form by dragging its borders, I can see that the DockingPane moves to the correct top position, but as soon as I let go it moves back to 0.</P><P>On a form with a CommandBar and&nbsp;DockingPane, you have 3 Resize Events, where do you put your code to resize everything on the form?</P><P>On this form, I put it on the Form_Resize and then I call that procedure from the CommandBar and DockingPane Resize_Event. Is that wrong?</P><P>Bjarne</P>]]>
   </description>
   <pubDate>Sat, 28 Feb 2004 14:09:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1176&amp;title=position-dockingpane-with-commandbar#1176</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar : The correct solution is in my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1174&amp;title=position-dockingpane-with-commandbar#1174</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 28 February 2004 at 1:37pm<br /><br />The correct solution is in my next post below. <br><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Sat, 28 Feb 2004 13:37:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1174&amp;title=position-dockingpane-with-commandbar#1174</guid>
  </item> 
  <item>
   <title><![CDATA[Positi&#111;n Dockingpane with CommandBar : Hello, I hope some out there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1173&amp;title=position-dockingpane-with-commandbar#1173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 479<br /><strong>Posted:</strong> 28 February 2004 at 12:10pm<br /><br /><P>Hello,</P><P>I hope some out there can give me a short example on how to position a DockingPane when there is also a CommandBar with toolbars on an SDI form.</P><P>I want to show the dockingpane aligned to the right, but the Top property must be just below the Commandbar Toolbar (Just like Word 2003). I have tried different combinations of the Resize_events and GetclientRect Events, and for some reason the Dockingpane will not stay below the Toolbar. When I resize the form I can see that it moves below, but as soon as I let go of the mouse it moves all the way to the top of the form again.</P><P>So a short sample on what commands to put where would be appreciated</P><P>Bjarne</P>]]>
   </description>
   <pubDate>Sat, 28 Feb 2004 12:10:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=479&amp;PID=1173&amp;title=position-dockingpane-with-commandbar#1173</guid>
  </item> 
 </channel>
</rss>