<?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 : Evaluating: How to do this. Views in Panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Evaluating: How to do this. Views in Panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:55:45 +0000</pubDate>
  <lastBuildDate>Fri, 12 Dec 2008 01:16:24 +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=12898</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[Evaluating: How to do this. Views in Panes : Hi,  There is AttachView method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12898&amp;PID=43597&amp;title=evaluating-how-to-do-this-views-in-panes#43597</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12898<br /><strong>Posted:</strong> 12 December 2008 at 1:16am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>There is AttachView method that creates View and Attach it:</DIV><DIV>&nbsp;</DIV><DIV>pPane-&gt;AttachView(this, RUNTIME_CLASS(CViewOne))</DIV><DIV>&nbsp;</DIV><DIV>Please start evaluating with our samples. They have all you need :)</DIV>]]>
   </description>
   <pubDate>Fri, 12 Dec 2008 01:16:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12898&amp;PID=43597&amp;title=evaluating-how-to-do-this-views-in-panes#43597</guid>
  </item> 
  <item>
   <title><![CDATA[Evaluating: How to do this. Views in Panes : Currently evaluating the DockingPane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12898&amp;PID=43581&amp;title=evaluating-how-to-do-this-views-in-panes#43581</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4793">jhunjan</a><br /><strong>Subject:</strong> 12898<br /><strong>Posted:</strong> 11 December 2008 at 1:25pm<br /><br />Currently evaluating the DockingPane classes.<br><br>I am testing the CXPTFrameWnd + CXTPDockingPaneManager into our existing application.<br>I have the following child frame:<br>&nbsp;&nbsp; class CStagedChildFrm : public CXTPFrameWnd<br>This had 2 views which were in 2 splitter panes<br>&nbsp;&nbsp; class CStagedGridView<br><br>I want to convert the 2 views to 2 docking pane views: <br><br>LRESULT CStagedChildFrm::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<br>{<br>&nbsp;&nbsp;&nbsp; if (wParam == XTP_DPN_SHOWWINDOW)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPDockingPane* pPane = (CXTPDockingPane*)lParam;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!pPane-&gt;IsValid())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; switch (pPane-&gt;GetID())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case IDR_PANE_PROPERTIES:&nbsp; // 1st view...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have a view already created and want the pane to draw it.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pPane-&gt;Attach (pProperties);&nbsp; // this does not work.<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; // pProperties is a new view I created like this in OncreateClient.<br>&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; pProperties = dynamic_cast &lt;CStagedGridView*&gt; (CreateView (pContext));<br>&nbsp;&nbsp;&nbsp;&nbsp; //class CStagedChildFrm : public CXTPFrameWnd<br><br><br>This fails to work since I am new to this (2hrs ago); so I am sure there is a proper way to do this.<br>If anyone knows let me know.<br><br>Jas<br>jhunjan@belzberg.com<br><br><br><br><br><br><br><br><br><br><br><br><br>]]>
   </description>
   <pubDate>Thu, 11 Dec 2008 13:25:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12898&amp;PID=43581&amp;title=evaluating-how-to-do-this-views-in-panes#43581</guid>
  </item> 
 </channel>
</rss>