<?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 : ShowPane bug in 13.2.1</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : ShowPane bug in 13.2.1]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 03:11:50 +0000</pubDate>
  <lastBuildDate>Mon, 01 Feb 2010 10:26:37 +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=16116</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[ShowPane bug in 13.2.1 : I know for sure that there is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16116&amp;PID=56507&amp;title=showpane-bug-in-13-2-1#56507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16116<br /><strong>Posted:</strong> 01 February 2010 at 10:26am<br /><br /><DIV>I know for sure that there is a bug in the Docking Pane logic. Please look at this before releasing the next version. (I have no time creating a full sample at the moment.)</DIV><DIV>&nbsp;</DIV><DIV>1) Create panes A and B.</DIV><DIV>2) Hide pane A. Disable pane A.</DIV><DIV>4) Create layout B' (only B visible).</DIV><DIV>5) Show pane A. Enable pane A. Hide pane B. Disable pane B.</DIV><DIV>6) Create layout A' (only pane A visible).</DIV><DIV>7) Load layout A' (pane A is created).</DIV><DIV>&nbsp;</DIV><DIV>Pane A is visible, B is hidden (<strong>with no window attached</strong>). Now I want to show B!</DIV><DIV>&nbsp;</DIV><DIV>paneManager.ShowPane(B); // Generates <FONT color=#010001 size=2><FONT color=#010001 size=2>XTPWM_DOCKINGPANE_NOTIFY message!</FONT></FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>LRESULT</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CMainFrame</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnDockingPaneNotify</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>WPARAM</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>wParam</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>LPARAM</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>lParam</FONT></FONT><FONT size=2>)</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff><FONT color=#0000ff>if</FONT></FONT> (<FONT color=#010001><FONT color=#010001>wParam</FONT></FONT> == <FONT color=#010001><FONT color=#010001>XTP_DPN_SHOWWINDOW</FONT></FONT>)</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; {</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#010001><FONT color=#010001>CXTPDockingPane</FONT></FONT>* <FONT color=#010001><FONT color=#010001>pPane</FONT></FONT> = (<FONT color=#010001><FONT color=#010001>CXTPDockingPane</FONT></FONT>*)<FONT color=#010001><FONT color=#010001>lParam</FONT></FONT>;</FONT></DIV><DIV><FONT size=2><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000ff><FONT color=#0000ff>if</FONT></FONT> (!<FONT color=#010001><FONT color=#010001>pPane</FONT></FONT>-&gt;<FONT color=#010001><FONT color=#010001>IsValid</FONT></FONT>())</strong> // Pane B is marked as valid, which is wrong!</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT></DIV><DIV><FONT color=#ff0000 size=2><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Window of B is never created!</strong></FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; }</FONT></DIV><DIV><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I'm not sure exactly how this is possible, but it only happens when creating and loading pane layouts!</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>A workaround is to pre-create the pane window in OnCreate(), but that is not a good approach!</FONT></DIV>]]>
   </description>
   <pubDate>Mon, 01 Feb 2010 10:26:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16116&amp;PID=56507&amp;title=showpane-bug-in-13-2-1#56507</guid>
  </item> 
 </channel>
</rss>