<?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 : Limiting where panes can dock</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Limiting where panes can dock]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 01:41:11 +0000</pubDate>
  <lastBuildDate>Fri, 18 Sep 2009 07:06:15 +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=15183</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[Limiting where panes can dock : Tried that and found that I could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15183&amp;PID=53176&amp;title=limiting-where-panes-can-dock#53176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1738">Robin Imrie</a><br /><strong>Subject:</strong> 15183<br /><strong>Posted:</strong> 18 September 2009 at 7:06am<br /><br />Tried that and found that I could only dock to top or bottom, changed code to...<br><br><table width="99%"><tr><td><pre class="BBcode"><pre ="BBcode">LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wp, LPARAM lp)<br>{<br>&nbsp;&nbsp;&nbsp; if (wp==XTP_DPN_ACTION)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lp;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pAction-&gt;pPane-&gt;GetID()==IDR_TIMESCALE &amp;&amp; pAction-&gt;action==xtpPaneActionDocking)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!pAction-&gt;pPane-&gt;IsHidden() &amp;&amp; pAction-&gt;dockDirection!=xtpPaneDockTop &amp;&amp; pAction-&gt;dockDirection!=xtpPaneDockBottom)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pAction-&gt;bCancel=FALSE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pAction-&gt;bCancel=TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 1;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } <br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; return 0;<br>}</pre></pre></td></tr></table><br><br><br>]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 07:06:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15183&amp;PID=53176&amp;title=limiting-where-panes-can-dock#53176</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting where panes can dock : Try this: LRESULT CMainFrame::OnDockingPaneNotify(WPARAM...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15183&amp;PID=53107&amp;title=limiting-where-panes-can-dock#53107</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 15183<br /><strong>Posted:</strong> 16 September 2009 at 1:25pm<br /><br />Try this:<br><br><table width="99%"><tr><td><pre class="BBcode">LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wp, LPARAM lp)<br>{<br>&nbsp;&nbsp;&nbsp; if (wp==XTP_DPN_ACTION)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lp;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pAction-&gt;pPane-&gt;GetID()==IDR_TIMESCALE &amp;&amp; pAction-&gt;action==xtpPaneActionDocking)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!pAction-&gt;pPane-&gt;IsHidden() &amp;&amp; pAction-&gt;dockDirection!=xtpPaneDockTop &amp;&amp; pAction-&gt;dockDirection!=xtpPaneDockBottom)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pAction-&gt;bCancel=TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pAction-&gt;bCancel=FALSE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 1;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; } <br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; return 0;<br>}</pre></td></tr></table><br>This restricts docking to top or bottom of frame.<br>]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 13:25:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15183&amp;PID=53107&amp;title=limiting-where-panes-can-dock#53107</guid>
  </item> 
  <item>
   <title><![CDATA[Limiting where panes can dock : Hi,My SDi application has one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15183&amp;PID=53070&amp;title=limiting-where-panes-can-dock#53070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1738">Robin Imrie</a><br /><strong>Subject:</strong> 15183<br /><strong>Posted:</strong> 16 September 2009 at 5:35am<br /><br />Hi,<br><br>My SDi application has one dockable pane. I only it to be possible to dock this pane on the left or the right hand side of the window.<br><br>How would I do this?<br><br>Thanks<br><br>Robin<br>]]>
   </description>
   <pubDate>Wed, 16 Sep 2009 05:35:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15183&amp;PID=53070&amp;title=limiting-where-panes-can-dock#53070</guid>
  </item> 
 </channel>
</rss>