<?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 : Docking pane positioning</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Docking pane positioning]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 10:45:04 +0000</pubDate>
  <lastBuildDate>Tue, 13 Feb 2007 07:59:23 +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=5181</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[Docking pane positioning : Sunil  I have written a function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5181&amp;PID=20360&amp;title=docking-pane-positioning#20360</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2736">asparagusx</a><br /><strong>Subject:</strong> 5181<br /><strong>Posted:</strong> 13 February 2007 at 7:59am<br /><br />Sunil<DIV>&nbsp;</DIV><DIV>I have written a function (outline code here only) that might help you. This function 'resets' all the docking windows to a know state. I close all the panes first (to get it to a known state) and then show/hide/dock as appliable. Also use SetMinTrackSize and SetMaxTrackSize to 'resize' panes as required :</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><P>CXTPDockingPaneInfoList&amp; lstPanes = m_paneManager.GetPaneList();</P><P>POSITION pos = lstPanes.GetHeadPosition();</P><P></P><P>m_paneManager.HideClient(TRUE);</P><P></FONT><FONT color=#0000ff size=2>while</FONT><FONT size=2> (pos)</P><P>{</P><P>CXTPDockingPane* pPane = lstPanes.GetNext(pos);</P><P></P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!pPane-&gt;IsClosed())</P><P>pPane-&gt;Close();</P><P>}</P><P>m_paneManager.RecalcFramesLayout(); </P><P>pos = lstPanes.GetHeadPosition();</P><P></FONT><FONT color=#0000ff size=2>while</FONT><FONT size=2> (pos)</P><P>{</P><P>CXTPDockingPane* pPane = lstPanes.GetNext(pos);</P><P></P><P></FONT><FONT color=#0000ff size=2>switch</FONT><FONT size=2> (pPane-&gt;GetID())</P><P>{</P><P></FONT><FONT color=#0000ff size=2>case</FONT><FONT size=2> ID_DATATREE_DOCK :</P><P>m_paneManager.ShowPane(pPane,FALSE);</P><P>m_paneManager.DockPane(pPane,xtpPaneDockLeft);</P><P></FONT><FONT color=#0000ff size=2>break</FONT><FONT size=2>;</P><P></FONT><FONT color=#0000ff size=2>case</FONT><FONT size=2> ID_ZOOMWIN_DOCK :</P><P>m_paneManager.ShowPane(pPane,FALSE);</P><P>m_paneManager.DockPane(pPane,xtpPaneDockBottom,m_paneManager.FindPane(ID_DATATREE_DOCK));</P><P></FONT><FONT color=#0000ff size=2>break</FONT><FONT size=2>;</P><DIV>:</DIV><DIV>:</DIV><DIV>:</DIV><DIV>do any other panes here</DIV><DIV>}</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Hope this might be of some assistance.</DIV><DIV>&nbsp;</DIV><DIV>Anton Heymann</FONT></DIV></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 13 Feb 2007 07:59:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5181&amp;PID=20360&amp;title=docking-pane-positioning#20360</guid>
  </item> 
  <item>
   <title><![CDATA[Docking pane positioning : Hi,  I am using Docking Pane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5181&amp;PID=16198&amp;title=docking-pane-positioning#16198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2372">sunilwarke</a><br /><strong>Subject:</strong> 5181<br /><strong>Posted:</strong> 02 October 2006 at 2:14am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I am using Docking Pane (Xtreme ToolkitPro 10.3)</DIV><DIV>&nbsp;</DIV><DIV>I have created 6 dialog boxes in the MDI application. The dialog boxes does not have any border. These dialogs are added on the docking pane manager creating a docking pane for each of them.</DIV><DIV>&nbsp;</DIV><DIV>Would like to know</DIV><DIV>1. How to maximize each pane on&nbsp;some button click? I can not access the SetWindowRect as it is protected.</DIV><DIV>&nbsp;</DIV><DIV>2. When my docking pane is floting, I can change it's size however the trending activex control added on that pane/dialog flickers much. Also when the pane is double clicked it attached to some window but the size of the control does not change. Is there any way to control the size of activex control or any list control added on the dialog automatically as the pane size may change.</DIV><DIV>&nbsp;</DIV><DIV>3. The pane can be rearrahged/position can be changed&nbsp;by user, is there any way to autoarrange or set all pane position to some default position on some button click?</DIV><DIV>&nbsp;</DIV><DIV>4. How to put all panes in the tabbed format by some button click?</DIV><DIV>&nbsp;</DIV><DIV>Thanks and regards,</DIV><DIV><BR>Sunil</DIV>]]>
   </description>
   <pubDate>Mon, 02 Oct 2006 02:14:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5181&amp;PID=16198&amp;title=docking-pane-positioning#16198</guid>
  </item> 
 </channel>
</rss>