<?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 : How to make a pane docking  by default</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : How to make a pane docking  by default]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 13:30:16 +0000</pubDate>
  <lastBuildDate>Fri, 29 Oct 2004 03:14: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=1321</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[How to make a pane docking  by default : Ok, the program works well now. Thank...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3757&amp;title=how-to-make-a-pane-docking-by-default#3757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=793">zwdhm</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 29 October 2004 at 3:14am<br /><br /><P>Ok, the program works well now.</P><P>Thank you!</P>]]>
   </description>
   <pubDate>Fri, 29 Oct 2004 03:14:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3757&amp;title=how-to-make-a-pane-docking-by-default#3757</guid>
  </item> 
  <item>
   <title><![CDATA[How to make a pane docking  by default :  Thats because the form/controls...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3738&amp;title=how-to-make-a-pane-docking-by-default#3738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 28 October 2004 at 7:06am<br /><br />Thats because the form/controls has not yet been attached to thepane.&nbsp; In my previous post I mentioned that you should create anew instance of the forms you will attach to the pane.&nbsp; You thenwork with the new form when accessing controls.&nbsp; When theattach_pane event is fired, you simply test when pane triggered theevant and attache the appropriate form.<br><br>'Placed in Genaral code section (frmMyControls is my form)<br>&nbsp;&nbsp;&nbsp; Const PANE_1 = 100<br>&nbsp;&nbsp;&nbsp; Dim frmMyControls As frmMyControls <br><br>'In Form_Load<br>&nbsp;&nbsp;&nbsp; Set frmMyControls = New frmMyControls <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Here you can work with the form and controls on the form before the docking pane is ever created.<br><br>&nbsp;&nbsp;&nbsp; Dim A As Pane<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set A = DockingPaneManager.CreatePane(PANE_1, 200, 120, DockLeftOf, Nothing)<br>&nbsp;&nbsp;&nbsp; A.Tag = PANE_1<br>&nbsp;&nbsp;&nbsp; A.Hide<br><br>'In Attach_Pane event<br>&nbsp;&nbsp;&nbsp; If Item.Tag = PANE_1 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Handle = frmMyControls.hWnd<br>&nbsp;&nbsp;&nbsp; ElseIf Item.Tag = PANE_2 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Handle = form2.hWnd<br>&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Handle = form3.hWnd<br>&nbsp;&nbsp;&nbsp; End If<br><br><span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 07:06:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3738&amp;title=how-to-make-a-pane-docking-by-default#3738</guid>
  </item> 
  <item>
   <title><![CDATA[How to make a pane docking  by default : The problem is the same as above. If...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3730&amp;title=how-to-make-a-pane-docking-by-default#3730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=793">zwdhm</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 28 October 2004 at 1:39am<br /><br /><P>The problem is the same as above.</P><P>If the pane is hided and has not been shown at least once since main form was loaded, and the state of PaneA&nbsp;was hide when the program colsed last time(SaveState method was used), and this time I use LoadState method. The pane is hide by defaultan runtime error will occur when I operate controls on the pane.</P>]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 01:39:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3730&amp;title=how-to-make-a-pane-docking-by-default#3730</guid>
  </item> 
  <item>
   <title><![CDATA[How to make a pane docking  by default : What problem are you referring...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3717&amp;title=how-to-make-a-pane-docking-by-default#3717</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 27 October 2004 at 8:14am<br /><br />What problem are you referring to?<br>]]>
   </description>
   <pubDate>Wed, 27 Oct 2004 08:14:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3717&amp;title=how-to-make-a-pane-docking-by-default#3717</guid>
  </item> 
  <item>
   <title><![CDATA[How to make a pane docking  by default : If the state of PaneAwas hide...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3715&amp;title=how-to-make-a-pane-docking-by-default#3715</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=793">zwdhm</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 27 October 2004 at 6:11am<br /><br /><P>If the state of PaneA&nbsp;was hide when the program colsed last time(SaveState method was used), and this time I use LoadState methode, how to solve the problem?&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 27 Oct 2004 06:11:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3715&amp;title=how-to-make-a-pane-docking-by-default#3715</guid>
  </item> 
  <item>
   <title><![CDATA[How to make a pane docking  by default : Here is how to hide a pane. Be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3697&amp;title=how-to-make-a-pane-docking-by-default#3697</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 26 October 2004 at 8:24am<br /><br />Here is how to hide a pane.&nbsp; Be sure that you hide the pane onlyafter you are done refrencing it with other CreatePane calls.&nbsp; Inthe example below, Pane B is docked on top of Pane A, Pane A isreferenced in Pane B's CreatePane call, so you must wait to hide Pane Auntil Pane B was created.<br><br>&nbsp;&nbsp;&nbsp; Dim A As Pane, B As Pane<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; Set A = DockingPaneManager.CreatePane(1, 200, 120, DockLeftOf)<br>&nbsp;&nbsp;&nbsp; A.Title = "Pane A"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set B = DockingPaneManager.CreatePane(2, 200, 120, DockTopOf, A)<br>&nbsp;&nbsp;&nbsp; B.Title = "Pane B"<br><br>&nbsp;&nbsp;&nbsp; A.Hide <br><br>If you are working with a pane that has not been shown I might justcreate a new instance of each form that is attached to your panes inthe Form_Load event you can then work with this instance before thepane is even shown.&nbsp; Then you can attach the form you created inthe Load_Form event when the Pane fires the Attach_Pane event.&nbsp; Soyou wouldn't be creating the new instance of a form in the Attach_Paneevent, you only attached the forms you already created when the appfirst started.&nbsp; <br><br>Hope this help/made sense<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"><br>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 08:24:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3697&amp;title=how-to-make-a-pane-docking-by-default#3697</guid>
  </item> 
  <item>
   <title><![CDATA[How to make a pane docking  by default : I want to make a pane docking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3696&amp;title=how-to-make-a-pane-docking-by-default#3696</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=793">zwdhm</a><br /><strong>Subject:</strong> 1321<br /><strong>Posted:</strong> 26 October 2004 at 8:10am<br /><br /><P>I want to make a pane docking by default when form was loaded.</P><P>If the pane is hided and has not been shown at least once since main form was loaded, an runtime error will occur when I operate controls on the pane.</P><P>Does somebody know how to do?</P>]]>
   </description>
   <pubDate>Tue, 26 Oct 2004 08:10:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1321&amp;PID=3696&amp;title=how-to-make-a-pane-docking-by-default#3696</guid>
  </item> 
 </channel>
</rss>