<?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 : CXTPDockingPane - some questi&#111;ns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPDockingPane - some questi&#111;ns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 17:49:03 +0000</pubDate>
  <lastBuildDate>Tue, 17 Feb 2004 16:14:11 +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=433</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[CXTPDockingPane - some questi&#111;ns : thank you - that did it Don ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1053&amp;title=cxtpdockingpane-some-questions#1053</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=359">dmetzler</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 17 February 2004 at 4:14pm<br /><br /><P>thank you - that did it</P><P>Don</P>]]>
   </description>
   <pubDate>Tue, 17 Feb 2004 16:14:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1053&amp;title=cxtpdockingpane-some-questions#1053</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : In CMainFrame::OnDockingPaneNotify   ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1052&amp;title=cxtpdockingpane-some-questions#1052</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=350">vladsch</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 17 February 2004 at 2:29pm<br /><br /><P>In CMainFrame::OnDockingPaneNotify</P><P><table width="99%"><tr><td><pre class="BBcode"></P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;case IDR_PANE_CUSTOM :</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  if (m_wndCustomPane.GetSafeHwnd() == 0)<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  {<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; m_wndCustomPane.Create(NULL, NULL, WS_CHILD|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, CRect(0,0,0,0), this, 0);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  }<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  pPane-&gt;Attach(&amp;m_wndCustomPane);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  break;<BR></pre></td></tr></table></P>]]>
   </description>
   <pubDate>Tue, 17 Feb 2004 14:29:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1052&amp;title=cxtpdockingpane-some-questions#1052</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : One other question - how do you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1051&amp;title=cxtpdockingpane-some-questions#1051</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=359">dmetzler</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 17 February 2004 at 2:24pm<br /><br /><P>One other question - how do you create the instance of the m_wndCustomPane object:</P><P>Does this window have the WS_CHILD style, or WS_POPUP (and if a WS_CHILD, what is the parent HWND)?</P><P>Thanks,</P><P>Don</P>]]>
   </description>
   <pubDate>Tue, 17 Feb 2004 14:24:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1051&amp;title=cxtpdockingpane-some-questions#1051</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : It is in the DockPaneWnd.h file...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1015&amp;title=cxtpdockingpane-some-questions#1015</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=350">vladsch</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 13 February 2004 at 12:35pm<br /><br /><P>It is in the DockPaneWnd.h file that the AppWizzard creates. Here is what it contains:</P><P><table width="99%"><tr><td><pre class="BBcode"></P><P>// DockPaneWnd.h : main header file for the SAMPLEAPP application<BR>//</P><P>#if !defined(__DOCKPANEWND_H__)<BR>#define __DOCKPANEWND_H__</P><P>#if _MSC_VER &gt; 1000<BR>#pragma once<BR>#endif // _MSC_VER &gt; 1000</P><P>template&lt;class BASE_CLASS&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class CDockPaneWnd : public BASE_CLASS<BR>{<BR>protected:</P><P>&nbsp;&nbsp;&nbsp; virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch (message)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; case WM_CREATE:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; {<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (BASE_CLASS::WindowProc(message, wParam, lParam) == -1)<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; return -1;</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetFont(CXTPPaintManager::GetRegularFont());</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; }</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; case WM_NCPAINT:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; {<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CWindowDC dc(this);</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CRect rc;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetWindowRect(&amp;rc);</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int cx = rc.Width();<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int cy = rc.Height();</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const COLORREF clrFrame =&nbsp; GetXtremeColor(XPCOLOR_3DSHADOW);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dc.Draw3dRect(0, 0, cx, cy, clrFrame, clrFrame);</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; }</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; case WM_NCCALCSIZE:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; {<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NCCALCSIZE_PARAMS FAR* lpncsp = (NCCALCSIZE_PARAMS FAR*)lParam;</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // adjust non-client area for border space<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpncsp-&gt;rgrc&#091;0&#093;.left&nbsp;&nbsp; += 1;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpncsp-&gt;rgrc&#091;0&#093;.top&nbsp;&nbsp;&nbsp; += 1;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpncsp-&gt;rgrc&#091;0&#093;.right&nbsp; -= 1;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lpncsp-&gt;rgrc&#091;0&#093;.bottom -= 1;</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return BASE_CLASS::WindowProc(message, wParam, lParam);<BR>&nbsp;&nbsp;&nbsp; }<BR>};</P><P><BR> //////////////////////////////////////////////////////////// /////////////////</P><P>//{{AFX_INSERT_LOCATION}}<BR>&nbsp;&nbsp;&nbsp; // Microsoft Visual C++ will insert additional declarations immediately before the previous line.</P><P>#endif // !defined(__DOCKPANEWND_H__)</P><P></pre></td></tr></table></P>]]>
   </description>
   <pubDate>Fri, 13 Feb 2004 12:35:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1015&amp;title=cxtpdockingpane-some-questions#1015</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : In your post above, you show: ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1013&amp;title=cxtpdockingpane-some-questions#1013</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=359">dmetzler</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 13 February 2004 at 10:16am<br /><br /><P>In your post above, you show:</P><P>CDockPaneWnd&lt;CCustomPane&gt; m_wndCustomPane </P><P>The CCustomPane is the class you included in the .zip file.&nbsp; What does the CDockPaneWnd refer to?&nbsp; Is this an existing XTP class, and if so, what is the correct name of this class?</P><P>Thanks,</P><P>Don</P>]]>
   </description>
   <pubDate>Fri, 13 Feb 2004 10:16:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=1013&amp;title=cxtpdockingpane-some-questions#1013</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : Thank you very much! I will take...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=999&amp;title=cxtpdockingpane-some-questions#999</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=359">dmetzler</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 10 February 2004 at 12:29pm<br /><br /><P>Thank you very much!&nbsp; I will take a look at it.</P><P>Don</P>]]>
   </description>
   <pubDate>Tue, 10 Feb 2004 12:29:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=999&amp;title=cxtpdockingpane-some-questions#999</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : Hi Don: I attached a custom pane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=997&amp;title=cxtpdockingpane-some-questions#997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=350">vladsch</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 10 February 2004 at 11:14am<br /><br /><P>Hi Don:</P><P>I attached a custom pane class based on CWnd, it creates a single edit control in the OnCreate handler. It also resizes the edit control to fit the size of the pane in OnSize().</P><P>The usual pane stuff: in OnDockingPaneNotify you must add a case clause for the id of the pane and create it. I am using DockPaneWnd.h template class created by the XTreme AppWizzard to add a member to my CMainFrame:&nbsp; CDockPaneWnd&lt;CCustomPane&gt; m_wndCustomPane so that the default pane messages are handled.</P><P><A href="http://forum.codejock.com/uploads/vladsch/Z87_CustomPane.zip" target="_blank">Z87_CustomPane.zip</A></P><P>Hope this helps.</P>]]>
   </description>
   <pubDate>Tue, 10 Feb 2004 11:14:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=997&amp;title=cxtpdockingpane-some-questions#997</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPDockingPane - some questi&#111;ns : I am using Xtreme Toolkit Pro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=993&amp;title=cxtpdockingpane-some-questions#993</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=359">dmetzler</a><br /><strong>Subject:</strong> 433<br /><strong>Posted:</strong> 09 February 2004 at 10:31pm<br /><br /><P>I am using Xtreme Toolkit Pro and have some questions about the CXTPDockingPane.&nbsp; I have looked at the XTP sample code (Advanced, DynamcPanes), but cannot find specifically what I need.</P><P>1) I want to create a dynamic layout of a CXTPDockingPane by creating controls using CreateWindow().&nbsp; I am doing this now using a modified DynamicPanes example, but my child controls do not seem to be getting attached to the correct window.&nbsp; Can I create my child control windows before the CXTPDockingPane::Attach() is called?<FONT size=2></P></FONT><P>2) If I want to resize my controls in the pane, in which CWnd (or CView) class would I put my OnSize() handler?</P><P>3) Can I control the minimum control size using WM_GETMINMAXINFO for a CXTPDockingPane?</P><P>Thanks,</P><P>Don Metzler</P><P>SISCOM Media, Inc.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 09 Feb 2004 22:31:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=433&amp;PID=993&amp;title=cxtpdockingpane-some-questions#993</guid>
  </item> 
 </channel>
</rss>