<?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 : Pr&#101;vent DockingPane from sizing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Pr&#101;vent DockingPane from sizing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:59:21 +0000</pubDate>
  <lastBuildDate>Wed, 28 Sep 2005 14:47:33 +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=781</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[Pr&#101;vent DockingPane from sizing : An alternative method to get the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=8826&amp;title=prevent-dockingpane-from-sizing#8826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1105">Agent 007</a><br /><strong>Subject:</strong> 781<br /><strong>Posted:</strong> 28 September 2005 at 2:47pm<br /><br />An alternative method to get the sample to work is to comment out the LoadLayout coad to prevent the application from loading the info fro the system registry.&nbsp; This code is in the OnCreate function in the CMainFrame Class.<BR><BR><FONT color=#008000 size=1><P>// If "RunLayout" layout does not exist, save the current configuration<BR></FONT><FONT color=#008000 size=1>// as "RunLayout", otherwise load previous state.<BR><BR></FONT><FONT size=1>m_pRunLayout = GetDockingPaneManager()-&gt;CreateLayout();<BR></FONT><FONT color=#0000ff size=1>//if</FONT><FONT size=1> (!m_pRunLayout-&gt;Load(_T("RunLayout"))) <BR>//{<BR>//&nbsp;&nbsp;&nbsp;&nbsp; GetDockingPaneManager()-&gt;GetLayout(m_pRunLayout);<BR>//}<BR><BR>Comment out the code shown above and then run the program and follow the steps posted above.</P></FONT>]]>
   </description>
   <pubDate>Wed, 28 Sep 2005 14:47:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=8826&amp;title=prevent-dockingpane-from-sizing#8826</guid>
  </item> 
  <item>
   <title><![CDATA[Pr&#101;vent DockingPane from sizing : See the Min/Max layout in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=8825&amp;title=prevent-dockingpane-from-sizing#8825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1105">Agent 007</a><br /><strong>Subject:</strong> 781<br /><strong>Posted:</strong> 28 September 2005 at 2:30pm<br /><br /><P>See the Min/Max layout in the Pane sample.&nbsp; For Pane 2 in the OnCreate function comment out the line of code that prevents the Pane from closing.<FONT color=#008000 size=1></P><P>// Get a pointer to IDR_PANE2 and set the title.<BR></FONT><FONT size=1>pPane = GetDockingPaneManager()-&gt;FindPane(IDR_PANE2);<BR>ASSERT(pPane);<BR></FONT><FONT color=#0000ff size=1>if</FONT><FONT size=1> (pPane) <BR>{<BR>&nbsp;&nbsp;&nbsp; pPane-&gt;SetTitle(_T("Pane 2 - No Closeable\nPane 2"));<BR></FONT><FONT color=#008000 size=1>&nbsp;&nbsp;&nbsp; // pPane-&gt;SetOptions(xtpPaneNoCloseable); // Comment out this line.<BR></FONT><FONT size=1>}</FONT></P><P><FONT size=1>You will also have to remove the entry in the System Registry for the Pane sample.&nbsp; Otherwise Pane 2 will still not be closeable.&nbsp; This registry entry is&nbsp; HK_CURRENT_USER-&gt;Software-&gt;Codejock Sample Applications-&gt;Codejock Docking Pane Sample. Run the application again and float pane 2.&nbsp; Now close the pane.&nbsp; Now Select the Menu item Docking Panes-Panes-&gt;Pane 2 to show&nbsp;Pane 2.&nbsp; The pane is still not resizable.&nbsp;</FONT></P>]]>
   </description>
   <pubDate>Wed, 28 Sep 2005 14:30:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=8825&amp;title=prevent-dockingpane-from-sizing#8825</guid>
  </item> 
  <item>
   <title><![CDATA[Pr&#101;vent DockingPane from sizing : But after you floate, you will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=8685&amp;title=prevent-dockingpane-from-sizing#8685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1494">mjm_d</a><br /><strong>Subject:</strong> 781<br /><strong>Posted:</strong> 20 September 2005 at 4:52am<br /><br /><P>But after you <FONT color=#ff0000><strong>floate</strong></FONT>, you will find you can resize it again.How to deal with it</P>]]>
   </description>
   <pubDate>Tue, 20 Sep 2005 04:52:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=8685&amp;title=prevent-dockingpane-from-sizing#8685</guid>
  </item> 
  <item>
   <title><![CDATA[Pr&#101;vent DockingPane from sizing : But after you hide and then make...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=4967&amp;title=prevent-dockingpane-from-sizing#4967</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=958">stephen_hyc</a><br /><strong>Subject:</strong> 781<br /><strong>Posted:</strong> 02 February 2005 at 7:37pm<br /><br /><P>But after you hide and then make it show , you will find you can resize it again.How to deal with it</P>]]>
   </description>
   <pubDate>Wed, 02 Feb 2005 19:37:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=4967&amp;title=prevent-dockingpane-from-sizing#4967</guid>
  </item> 
  <item>
   <title><![CDATA[Pr&#101;vent DockingPane from sizing : This feature has now been added...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=3599&amp;title=prevent-dockingpane-from-sizing#3599</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 781<br /><strong>Posted:</strong> 20 October 2004 at 12:58pm<br /><br />This feature has now been added (9.51), take a look at thePaneSample.&nbsp; Run the application and select Docking Pane-&gt; MinMax Sample from the menubar.&nbsp; If you would not like the pane to besized, you can set both the min and max values to be the same and theywon't be able to resize it.]]>
   </description>
   <pubDate>Wed, 20 Oct 2004 12:58:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=3599&amp;title=prevent-dockingpane-from-sizing#3599</guid>
  </item> 
  <item>
   <title><![CDATA[Pr&#101;vent DockingPane from sizing : Hi, How do Iprevent my DockingPane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=2047&amp;title=prevent-dockingpane-from-sizing#2047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=541">Irisz</a><br /><strong>Subject:</strong> 781<br /><strong>Posted:</strong> 25 May 2004 at 12:19am<br /><br /><P>Hi,</P><P>How do I&nbsp;prevent my DockingPane from sizing ? (I mean sizing by the user)</P><P>thanks,Iris.</P>]]>
   </description>
   <pubDate>Tue, 25 May 2004 00:19:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=781&amp;PID=2047&amp;title=prevent-dockingpane-from-sizing#2047</guid>
  </item> 
 </channel>
</rss>