<?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 pane in same spot it was destroyed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : create pane in same spot it was destroyed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 22:53:37 +0000</pubDate>
  <lastBuildDate>Tue, 18 May 2004 03:38:14 +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=741</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 pane in same spot it was destroyed : I had already found the &amp;#039;action&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1978&amp;title=create-pane-in-same-spot-it-was-destroyed#1978</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 18 May 2004 at 3:38am<br /><br /><P>I had already found the 'action' callback and the dockDirection member but my problem is that when I want to add a new pane I have to go through the pane list and identify, for each pane, where it is currently docked, so I don't have an XTP_DOCKINGPANE_ACTION&nbsp; object.</P><P>I suspect that the dockDirection member is only valid when actually docking a pane (I know for some other actions it just defaults to 'left'), so I guess I could&nbsp;add a map to associate each&nbsp;pane to a dockDirection and maintain it in the 'action' callbacks but it just seems like a lot of work.&nbsp; I would have thought there would be a way to get the dock direction from the pane object itself but I can't see it if there is.</P><P>Thanks for your help, and sorry to have gone off topic. <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P>]]>
   </description>
   <pubDate>Tue, 18 May 2004 03:38:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1978&amp;title=create-pane-in-same-spot-it-was-destroyed#1978</guid>
  </item> 
  <item>
   <title><![CDATA[create pane in same spot it was destroyed :  XTPWM_DOCKINGPANE_NOTIFY ......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1972&amp;title=create-pane-in-same-spot-it-was-destroyed#1972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 17 May 2004 at 11:58am<br /><br /><br>XTPWM_DOCKINGPANE_NOTIFY ... XTP_DPN_ACTION ... XTP_DOCKINGPANE_ACTION*pAction = (XTP_DOCKINGPANE_ACTION *)lParam; CXTPDockingPane *pPane =pAction-&gt;pPane; ... switch( pPane-&gt;GetID() ) ... caseIDR_YOURPANE: ...&nbsp; switch( pAction-&gt;action ) ... casextpPaneActionDocking: ... m_yourpaneDockSide =pAction-&gt;dockDirection;<br><br><br>]]>
   </description>
   <pubDate>Mon, 17 May 2004 11:58:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1972&amp;title=create-pane-in-same-spot-it-was-destroyed#1972</guid>
  </item> 
  <item>
   <title><![CDATA[create pane in same spot it was destroyed : Hi, I&amp;#039;m sorry I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1967&amp;title=create-pane-in-same-spot-it-was-destroyed#1967</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 17 May 2004 at 3:40am<br /><br /><P>Hi,</P><P>I'm sorry I don't have an answer to your question but I was hoping you could help me.&nbsp;<IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp; I'm trying to find the first pane that's docked to the bottom of the&nbsp;frame, I can enumerate the panes and find the ones that are docked but I can't see how to get the dock direction.&nbsp; In your question you mention that&nbsp;you can find this, can you tell me how?</P><P>Thanks.</P><span style="font-size:10px"><br /><br />Edited by brianh</span>]]>
   </description>
   <pubDate>Mon, 17 May 2004 03:40:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1967&amp;title=create-pane-in-same-spot-it-was-destroyed#1967</guid>
  </item> 
  <item>
   <title><![CDATA[create pane in same spot it was destroyed :  How can you tell if a pane is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1965&amp;title=create-pane-in-same-spot-it-was-destroyed#1965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 741<br /><strong>Posted:</strong> 16 May 2004 at 6:49pm<br /><br /><br>How can you tell if a pane is docked with a neighbor or not? For asingle pane, I can get the dock direction, window rect,float/hidden/docked status and put the pane back in the same spot itwas destroyed if I save all this information, but with two panes, itdoes not work since you can dock panes with neighbors. For example, ifI have a two panes side by side at the bottom of the window, destroyand recreate one of them, it will appear either above/below theexisting pane or completely on the left/right side of the window, notleft/right side by side of the existing pane at the bottom, unless Imanually specify the proper neighbor pane when creating the newpane.&nbsp; But I do not see a function to retrieve what the neighborpane is or how to do this?<br><br>]]>
   </description>
   <pubDate>Sun, 16 May 2004 18:49:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=741&amp;PID=1965&amp;title=create-pane-in-same-spot-it-was-destroyed#1965</guid>
  </item> 
 </channel>
</rss>