<?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 : Create a floating pane...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Create a floating pane...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 12:15:03 +0000</pubDate>
  <lastBuildDate>Tue, 31 Aug 2004 10:15:45 +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=1120</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[Create a floating pane... : I&amp;#039;m trying to create a floating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1120&amp;PID=2912&amp;title=create-a-floating-pane#2912</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 1120<br /><strong>Posted:</strong> 31 August 2004 at 10:15am<br /><br /><P>I'm trying to create a floating pane, which works, but not before resizing everything in the frame for the frame to fit.&nbsp; Maybe I'm doing something wrong.&nbsp; Anybody have any ideas?&nbsp; Here's the code:</P><P> &nbsp;&nbsp;m_paneManager.CreatePane(IDR_EDITPIPESIZES,CRect (0,0,100,100),(XTPDockingPaneDirection)NULL,NULL);  // a NULL is the same as dockLeftOf apparently...</P><P><FONT face="Courier New, Courier, mono">LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;&nbsp;CXTPDockingPane* pPane = (CXTPDockingPane*)lParam;<BR>&nbsp;&nbsp;if(pPane)<BR>&nbsp;&nbsp;{</FONT></P><P><FONT face="Courier New, Courier, mono">// lots of code for other panes omitted...<BR>&nbsp;&nbsp;&nbsp;switch (pPane-&gt;GetID())<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;case IDR_EDITPIPESIZES:<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!m_pEditPipeSizes)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pEditPipeSizes = new CEditPipeSizes;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!m_pEditPipeSizes-&gt;GetSa feHwnd())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pEditPipeSizes-&gt;Cre ate(MAKEINTRESOURCE(IDD_EDITPIPESIZES),GetActiveView()); <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pPane-&gt;Attach(m_pEdit PipeSizes);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pEditPipeSizes-&gt;m_a uxInput = auxInput;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CRect r;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;POINT pt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GetCursorPos(&amp;pt);<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pEditPipeSizes-&gt;GetClient Rect(&amp;r);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int w = r.Width();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int h = r.Height();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r.top = pt.y;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r.bottom = r.top + h + GetSystemMetrics(SM_CYCAPTION);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r.left = pt.x ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r.right = r.left + w;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_paneManager.FloatPane(pPane, r);<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;break;<BR>//.. more stuff</FONT></P><P><FONT face="Courier New, Courier, mono"></FONT>&nbsp;</P><P><FONT face="Courier New, Courier, mono">Any ideas?</FONT></P><P><FONT face="Courier New, Courier, mono">Thanks...</FONT></P><P><FONT face="Courier New, Courier, mono">- David Little</P><P><BR></P></FONT><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 31 Aug 2004 10:15:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1120&amp;PID=2912&amp;title=create-a-floating-pane#2912</guid>
  </item> 
 </channel>
</rss>