<?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 : Bug Attaching windows to docking pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Bug Attaching windows to docking pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 18:04:46 +0000</pubDate>
  <lastBuildDate>Fri, 29 Feb 2008 21:21:19 +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=9748</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[Bug Attaching windows to docking pane : p.s. - sorry, the call stack shows...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9748&amp;PID=31782&amp;title=bug-attaching-windows-to-docking-pane#31782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9748<br /><strong>Posted:</strong> 29 February 2008 at 9:21pm<br /><br />p.s. - sorry, the call stack shows that the call to InvalidatePane was in the context of me resetting the pane title, nothing to do with attaching the pane.<DIV>&nbsp;</DIV><DIV>All that seems to do is set the new parentage. It's weird that it won't then redraw.</DIV><DIV>&nbsp;</DIV><DIV>Also, when I'm attaching the window, I only have an HWND, so I'm passing in CWnd::FromHandle(hchild) to Attach().&nbsp; I see the pane only stores the hwnd, and when it wants a CWnd it calls FromHandle itself, so I presume there's no problem with what I'm doing there.</DIV>]]>
   </description>
   <pubDate>Fri, 29 Feb 2008 21:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9748&amp;PID=31782&amp;title=bug-attaching-windows-to-docking-pane#31782</guid>
  </item> 
  <item>
   <title><![CDATA[Bug Attaching windows to docking pane : I&amp;#039;m trying to use a single...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9748&amp;PID=31781&amp;title=bug-attaching-windows-to-docking-pane#31781</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9748<br /><strong>Posted:</strong> 29 February 2008 at 9:17pm<br /><br />I'm trying to use a single docking pane to display any number of windows.<DIV>&nbsp;</DIV><DIV>So when someone selects something new, I'm calling Detach() then Attach() to attach the new CWnd to the tabbed pane.</DIV><DIV>&nbsp;</DIV><DIV>This causes some weird problems.</DIV><DIV>&nbsp;</DIV><DIV>For starters it doen't draw the new tab.&nbsp; This is because the selection hasn't changed, and in CXTPDockingPaneTabbedContainer::InvalidatePane</DIV><DIV>&nbsp;</DIV><DIV>bSelectionChanged = false, so it doesn't draw the pane.</DIV><DIV>&nbsp;</DIV><DIV>If I select another pane then back to the one, it shows it fine, although as soon as I resize the tabbed panel, it stops showing it again (just shows grey background).</DIV><DIV>&nbsp;</DIV><DIV>I've tried calling all sorts of things... including windows functions on the hWND of the child window.&nbsp; I can see in Spy++ that the window does changeits parent.</DIV><DIV>&nbsp;</DIV><DIV>Is it supposed to be supported to attach and detach windows at will from a&nbsp;docked pane?</DIV>]]>
   </description>
   <pubDate>Fri, 29 Feb 2008 21:17:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9748&amp;PID=31781&amp;title=bug-attaching-windows-to-docking-pane#31781</guid>
  </item> 
 </channel>
</rss>