<?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 : Views in Docking Panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Views in Docking Panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 04:56:47 +0000</pubDate>
  <lastBuildDate>Tue, 15 Jul 2003 06:35:25 +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=98</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[Views in Docking Panes : 1. Create Dialog template and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=98&amp;PID=217&amp;title=views-in-docking-panes#217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 98<br /><strong>Posted:</strong> 15 July 2003 at 6:35am<br /><br /><P>1. Create Dialog template and CFormView derived class - CSimpleFormView.</P><P>2. Create New Pane</P><P>&nbsp;m_paneManager.InstallDockingPanes(this);</P><P>&nbsp;CXTPDockingPane* pPaneProperties = m_paneManager.CreatePane(<BR>&nbsp;&nbsp;PANEID_FORMVIEW, CRect(0, 0,210, 120), dockLeftOf);&nbsp;<BR></P><P>3. Attach it.</P><P>&nbsp;</P><P>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;if (wParam == XTP_DPN_SHOWWINDOW)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPDockingPane* pPane = (CXTPDockingPane*)lParam;</P><P>&nbsp;&nbsp;if (!pPane-&gt;IsValid())<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;if (m_pFormFrame == NULL)<BR>&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_pFormFrame = new CFrameWnd;<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;CCreateContext context;<BR>&nbsp;&nbsp;&nbsp;&nbsp;context.m_pNewViewClass = RUNTIME_CLASS(CSimpleFormView);<BR>&nbsp;&nbsp;&nbsp;&nbsp;context.m_pCurrentDoc = NULL;<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_pFormFrame-&gt;Create(NULL, NULL, WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, CRect(0, 0, 0, 0), this, NULL, 0, &amp;context);<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_pFormFrame-&gt;ModifyStyleEx(WS_EX_CLIENTEDGE, 0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_pFormFrame-&gt;SendMessageToDescendants(WM_INITIALUPDATE, 0, 0, TRUE, TRUE);<BR>&nbsp;&nbsp;&nbsp;}</P><P>&nbsp;&nbsp;&nbsp;pPane-&gt;Attach(m_pFormFrame);<BR>&nbsp;&nbsp;}<BR>&nbsp;<BR>&nbsp;&nbsp;return TRUE;<BR>&nbsp;}<BR>&nbsp;return FALSE;<BR>}</P>]]>
   </description>
   <pubDate>Tue, 15 Jul 2003 06:35:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=98&amp;PID=217&amp;title=views-in-docking-panes#217</guid>
  </item> 
  <item>
   <title><![CDATA[Views in Docking Panes : Oleg wrote in another thread: &amp;#034;the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=98&amp;PID=212&amp;title=views-in-docking-panes#212</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=104">c_koerber</a><br /><strong>Subject:</strong> 98<br /><strong>Posted:</strong> 14 July 2003 at 6:33am<br /><br /><P>Oleg wrote in another thread:</P><P>"the better to use CFormView instead CDialog...."</P><P>So it is possible to embed CView derived Objects into docking panes?</P><P>That would be very good news.</P><P>Oleg, is it possible to write a little how to or to point out the biggest issues one has to keep in mind?</P><P>Would be GREAT!</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 14 Jul 2003 06:33:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=98&amp;PID=212&amp;title=views-in-docking-panes#212</guid>
  </item> 
 </channel>
</rss>