<?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 : DockingPaneManager inside a CWnd</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : DockingPaneManager inside a CWnd]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 19:16:50 +0000</pubDate>
  <lastBuildDate>Mon, 21 Jan 2008 02:14:07 +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=9362</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[DockingPaneManager inside a CWnd : Add OnSize handler and add this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9362&amp;PID=30324&amp;title=dockingpanemanager-inside-a-cwnd#30324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9362<br /><strong>Posted:</strong> 21 January 2008 at 2:14am<br /><br />Add OnSize handler and add this code:<DIV>&nbsp;</DIV><DIV>(from Samples\DockingPane\DialogPanes sample)</DIV><DIV>&nbsp;</DIV><DIV>void CDialogPanesDlg::OnSize(UINT nType, int cx, int cy) <BR>{<BR>&nbsp;CDialog::OnSize(nType, cx, cy);<BR>&nbsp;<BR>&nbsp;CRect rcClient(0, 0, cx, cy);<BR>&nbsp;RepositionBars(0, 0xffff, AFX_IDW_PANE_FIRST, 0, 0, &amp;rcClient);</DIV><DIV>&nbsp;RepositionBars(0, 0xffff, AFX_IDW_PANE_FIRST, reposQuery, &amp;rcClient, &amp;rcClient);</DIV><DIV>&nbsp;if (m_wndView.GetSafeHwnd())<BR>&nbsp;{&nbsp;<BR>&nbsp;&nbsp;m_wndView.MoveWindow(rcClient);<BR>&nbsp;}&nbsp;<BR>}</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 21 Jan 2008 02:14:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9362&amp;PID=30324&amp;title=dockingpanemanager-inside-a-cwnd#30324</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPaneManager inside a CWnd : For some reason we want to be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9362&amp;PID=30316&amp;title=dockingpanemanager-inside-a-cwnd#30316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9362<br /><strong>Posted:</strong> 20 January 2008 at 10:16pm<br /><br /><DIV></DIV>For some reason we want to be able to dock panes inside a CWnd object (this is because this CWnd is the container for the client part of a frame window provided in another DLL module).<DIV>&nbsp;</DIV><DIV>So, we added a CXTPDockingPaneManager member to the CWnd, and we call CreatePane on it.</DIV><DIV>&nbsp;</DIV><DIV>However, there is no message XTP_DPN_SHOWWINDOW called.</DIV><DIV>&nbsp;</DIV><DIV>I believe this is because CXTPDockingPane::ShowWindow is not called, and I believe this is called because m_bLayoutCreated is not TRUE yet, because WM_SIZEPARENT is not sent by default to a CWnd.</DIV><DIV>&nbsp;</DIV><DIV>Is there any recommended steps to take to get a docking pane manager to work inside any generic CWnd?</DIV><DIV>&nbsp;</DIV><DIV>Thanks </DIV><DIV>&nbsp;</DIV><DIV>Adrien</DIV><DIV>&nbsp;</DIV><DIV>PS CJ 11.2.2</DIV>]]>
   </description>
   <pubDate>Sun, 20 Jan 2008 22:16:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9362&amp;PID=30316&amp;title=dockingpanemanager-inside-a-cwnd#30316</guid>
  </item> 
 </channel>
</rss>