<?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 : XTP_DPN_SHOWWINDOW behavior changed in v13</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : XTP_DPN_SHOWWINDOW behavior changed in v13]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 23:19:49 +0000</pubDate>
  <lastBuildDate>Wed, 11 Feb 2009 04:58:00 +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=13381</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[XTP_DPN_SHOWWINDOW behavior changed in v13 : The behavior might be the same...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45328&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13381<br /><strong>Posted:</strong> 11 February 2009 at 4:58am<br /><br /><P>The behavior might be the same in v12, but I encountered it in v13.</P><DIV>Let me clarify.</DIV><DIV>XTP_DPN_SHOWWINDOW is <strong>not sent</strong> when the the pane's rectangle is empty (<strong>IsRectEmpty</strong>). This should be documented as it could lead to strange behavior:</DIV><DIV>&nbsp;</DIV><DIV>1) The user changes the size of a pane to zero-height and closes the application.</DIV><DIV>2) Pane is saved to the Registry.</DIV><DIV>3) Application is opened and the pane read from the Registry.</DIV><DIV>4) Since the child-window is created and attached in OnDockingPaneNotify(), the child will not be created until the pane is explicitly resized!</DIV><DIV>&nbsp;</DIV><DIV>Perhaps create/attach should always be made in OnCreate() instead of OnDockingPaneNotify()?</DIV>]]>
   </description>
   <pubDate>Wed, 11 Feb 2009 04:58:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45328&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45328</guid>
  </item> 
  <item>
   <title><![CDATA[XTP_DPN_SHOWWINDOW behavior changed in v13 : Hi, I compared sources with 12.1.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45322&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13381<br /><strong>Posted:</strong> 11 February 2009 at 4:45am<br /><br />Hi,<DIV>I compared sources with 12.1.1 - nothing that can change this behavior.</DIV><DIV><FONT color=#010001>XTP_DPN_SHOWWINDOW&nbsp;called when pane become visible.</FONT></DIV><DIV><FONT color=#010001></FONT>&nbsp;</DIV><DIV><FONT color=#010001>You can add method that attach panes and call it from CMainFrame::Create and from NotifyHandler.</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 11 Feb 2009 04:45:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45322&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45322</guid>
  </item> 
  <item>
   <title><![CDATA[XTP_DPN_SHOWWINDOW behavior changed in v13 : You check for empty rectangles...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45293&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45293</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13381<br /><strong>Posted:</strong> 10 February 2009 at 3:55pm<br /><br /><P>You check for empty rectangles in the ShowWindow() call. Can you please tell me how to make certain pane-children attached explicitly? When I call GetChild() from my other pane-manager, the child window must already be set!</P>]]>
   </description>
   <pubDate>Tue, 10 Feb 2009 15:55:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45293&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45293</guid>
  </item> 
  <item>
   <title><![CDATA[XTP_DPN_SHOWWINDOW behavior changed in v13 : Upgraded to v13.0.0 from v12.1.1.  pMainPane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45292&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45292</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13381<br /><strong>Posted:</strong> 10 February 2009 at 3:43pm<br /><br />Upgraded to v13.0.0 from v12.1.1.<DIV>&nbsp;</DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><DIV>pMainPane = GetMainFrame</FONT></FONT><FONT size=2>().</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetPaneManager</FONT></FONT><FONT size=2>().</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FindPane</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>IDR_EXISTING_PANE</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2><FONT color=#010001 size=2><FONT color=#010001 size=2>CWnd</FONT></FONT><FONT size=2>* </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pWndChild</FONT></FONT><FONT size=2> = </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pMainPane</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetChild</FONT></FONT><FONT size=2>(); // Returns NULL when pane has not been sized (zero-height in this case)!</DIV><DIV>&nbsp;</DIV><DIV>It seems <FONT color=#010001 size=2><FONT color=#010001 size=2>XTP_DPN_SHOWWINDOW is not sent when the pane has zero-height. Is this by design?</FONT></FONT></DIV><DIV><FONT color=#010001></FONT>&nbsp;</DIV><DIV><FONT color=#010001>Anyway, such changes should be thoroughly documented!</FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 10 Feb 2009 15:43:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13381&amp;PID=45292&amp;title=xtp-dpn-showwindow-behavior-changed-in-v13#45292</guid>
  </item> 
 </channel>
</rss>