<?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 : LoadState makes Panes Invisible</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : LoadState makes Panes Invisible]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 23:43:34 +0000</pubDate>
  <lastBuildDate>Mon, 16 Oct 2006 17:47:45 +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=1863</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[LoadState makes Panes Invisible : I have exactly the same problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=16583&amp;title=loadstate-makes-panes-invisible#16583</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=787">JSram</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 16 October 2006 at 5:47pm<br /><br />I have exactly the same problem with 10.3.1, I attach a PictureBox (hosting some controls) to the Pane<br><br>Private PaneCtr As XtremeDockingPane.Pane<br><br><br>Private Sub PaneMan_AttachPane(ByVal Item As XtremeDockingPane.IPane)<br>Item.handle = picControl.hWnd<br><br>End Sub<br><br>In Form_Load()<br><br>Set PaneCtr = PaneMan.CreatePane(1&amp;, 250, 250, DockLeftOf, Nothing)<br>PaneMan.AttachToWindow picChart.hWnd<br>With PaneCtr<br>&nbsp;&nbsp;&nbsp; .Title = "Chart Control"<br>&nbsp;&nbsp;&nbsp; '.Hidden = True<br>&nbsp;&nbsp;&nbsp; '.Options = PaneNoFloatable<br>&nbsp;&nbsp;&nbsp; '.MinTrackSize.SetSize 500, 500<br>&nbsp;&nbsp;&nbsp; '.MaxTrackSize.SetSize 500, 500<br>End With<br>PaneMan.ShowPane 1&amp;<br><br>If I set .Hidden = True or .Hide, the pane shows up hidden as a grey strip to the left and it wont expand when the mousepointer hover over it or get clicked. It's simply disabled.<br><br>Same if I SaveState on Unload with it hidden and then use LoadState, same grey disabled strip shows up.<br><br>Note, I attache the pane to leftof another picturebox as this seem to be only way to make it expand and overlap a part of it. <br><br>I also tried to load a form in the pane, but that just crashes VB6 IDE when app closes.<br><br><br>]]>
   </description>
   <pubDate>Mon, 16 Oct 2006 17:47:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=16583&amp;title=loadstate-makes-panes-invisible#16583</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : May be you have no corresponded...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5738&amp;title=loadstate-makes-panes-invisible#5738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 15 March 2005 at 3:43am<br /><br />May be you have no corresponded SaveState?]]>
   </description>
   <pubDate>Tue, 15 Mar 2005 03:43:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5738&amp;title=loadstate-makes-panes-invisible#5738</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : I have two notes that may be could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5735&amp;title=loadstate-makes-panes-invisible#5735</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=986">tknijff</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 15 March 2005 at 2:58am<br /><br /><P>I have two notes that may be could solve your problem:</P><P>1. A pane id should not be 0 (start from 1)</P><P>2. Use the Resize-event of the picturebox to set controls on the right position</P><P>Thierry</P>]]>
   </description>
   <pubDate>Tue, 15 Mar 2005 02:58:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5735&amp;title=loadstate-makes-panes-invisible#5735</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : Yes I assign the handles in Attach...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5448&amp;title=loadstate-makes-panes-invisible#5448</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 28 February 2005 at 12:09pm<br /><br /><P>Yes I assign the handles in Attach Callback, so that should not be a problem. The only difference I see between what I do and the Samples supplied by Codelock seems to be that I use Picture boxes that are placed on the same form as the Docking Bar as compared to seperat forms.</P><P>Bjarne</P>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 12:09:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5448&amp;title=loadstate-makes-panes-invisible#5448</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : How are you assinging the handles...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5446&amp;title=loadstate-makes-panes-invisible#5446</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 28 February 2005 at 11:42am<br /><br /><P>How are you assinging the handles to the panes?&nbsp; Are you doing it in the Attach callback?</P><P>I had a similar problem and the issue was I assigned the handles during the create method so everything worked fine until I called Load.. Load will re-create all the panes so you also need to re-assign the window handles.</P>]]>
   </description>
   <pubDate>Mon, 28 Feb 2005 11:42:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5446&amp;title=loadstate-makes-panes-invisible#5446</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : Hi Oleg, Thanks for the quick...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5415&amp;title=loadstate-makes-panes-invisible#5415</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 26 February 2005 at 10:49am<br /><br /><P>Hi Oleg,</P><P>Thanks for the quick reply. Unfortunately that gives exactly the same result. Any other ideas?</P><P>Bjarne</P>]]>
   </description>
   <pubDate>Sat, 26 Feb 2005 10:49:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5415&amp;title=loadstate-makes-panes-invisible#5415</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : Try don&amp;#039;t use &amp;#034;\&amp;#034;: dockPane.LoadState...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5414&amp;title=loadstate-makes-panes-invisible#5414</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 26 February 2005 at 9:45am<br /><br /><P>Try don't use "\":</P><P>dockPane.LoadState "BRiis.Com", App.ProductName, "Layout_DockBarMain"<BR></P>]]>
   </description>
   <pubDate>Sat, 26 Feb 2005 09:45:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5414&amp;title=loadstate-makes-panes-invisible#5414</guid>
  </item> 
  <item>
   <title><![CDATA[LoadState makes Panes Invisible : Hello, I am seeing an unexpected...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5413&amp;title=loadstate-makes-panes-invisible#5413</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=290">Bjarne</a><br /><strong>Subject:</strong> 1863<br /><strong>Posted:</strong> 26 February 2005 at 4:37am<br /><br /><P>Hello,</P><P>I am seeing an unexpected behavior that I cant seem to find a solution for. I use the following code in the Form_Load event to create a Docking Pane:</P><P>&nbsp;&nbsp;&nbsp; dockPane.SetCommandBars Me.cmdBar<BR>&nbsp;&nbsp;&nbsp; Set A = dockPane.CreatePane(PANE_SHORTCUTBAR, 200, 120, DockLeftOf, Nothing)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A.Tag = PANE_SHORTCUTBAR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A.Options = PaneNoCloseable<BR>&nbsp;&nbsp;&nbsp; Set b = dockPane.CreatePane(PANE_GRID, 700, 400, DockRightOf, A)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b.Tag = PANE_GRID<BR>&nbsp;&nbsp;&nbsp; dockPane.VisualTheme = ThemeOffice2003<BR>&nbsp;&nbsp;&nbsp; dockPane.NormalizeSplitters<BR>&nbsp;&nbsp;&nbsp; dockPane.Options.HideClient = True<BR>&nbsp;&nbsp;&nbsp; dockPane.Options.DefaultPaneOptions = PaneNoCaption<BR>&nbsp;&nbsp;&nbsp; dockPane.Options.UseSplitterTracker = True<BR>&nbsp;&nbsp;&nbsp; dockPane.LoadState "BRiis.Com", App.ProductName, "Layout\DockBarMain"<BR></P><P>I use a SaveState command in the Form_Unload event. Whitout calling the LoadState Method the form looks correct and behaves correct. But when caling the LoadState Method both Panes just get Grey with no display of any Controls. I can still see the SplitterBar and move it around, but the form is really no good without any visible controls.</P><P>I am attaching Picture boxes instead of forms to the Panes, and don't know if that makes a difference but as said it works fine as long as I don't use the LoadState method. Any ideas what is wrong?</P>]]>
   </description>
   <pubDate>Sat, 26 Feb 2005 04:37:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1863&amp;PID=5413&amp;title=loadstate-makes-panes-invisible#5413</guid>
  </item> 
 </channel>
</rss>