<?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 : Get Active Pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Get Active Pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 26 Apr 2026 00:54:06 +0000</pubDate>
  <lastBuildDate>Wed, 11 Aug 2004 02:20:11 +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=1025</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[Get Active Pane : It can&amp;#039;t be truth. Container...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2730&amp;title=get-active-pane#2730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1025<br /><strong>Posted:</strong> 11 August 2004 at 2:20am<br /><br />It can't be truth. Container for DockingPane is always CXTPDockingPaneTabbedContainer if it visible.]]>
   </description>
   <pubDate>Wed, 11 Aug 2004 02:20:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2730&amp;title=get-active-pane#2730</guid>
  </item> 
  <item>
   <title><![CDATA[Get Active Pane : When the item is floating. GetContainer()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2718&amp;title=get-active-pane#2718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1025<br /><strong>Posted:</strong> 10 August 2004 at 9:47am<br /><br />When the item is floating. GetContainer() returns NULL. How do I find the selected pane at that point? Thanks.]]>
   </description>
   <pubDate>Tue, 10 Aug 2004 09:47:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2718&amp;title=get-active-pane#2718</guid>
  </item> 
  <item>
   <title><![CDATA[Get Active Pane : In your method replace: if (pContainer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2711&amp;title=get-active-pane#2711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1025<br /><strong>Posted:</strong> 10 August 2004 at 5:29am<br /><br /><P>In your method replace:</P><P>if (pContainer &amp;&amp; pContainer-&gt;IsActive()) <BR>&nbsp;&nbsp;&nbsp;&nbsp;{ <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return pPane; <BR>&nbsp;&nbsp;&nbsp;&nbsp;} <BR></P><P>to</P><P>if (pContainer &amp;&amp; pContainer-&gt;IsActive()) <BR>&nbsp;&nbsp;&nbsp;&nbsp;{ <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return pContainer-&gt;GetSelected(); <BR>&nbsp;&nbsp;&nbsp;&nbsp;} <BR></P>]]>
   </description>
   <pubDate>Tue, 10 Aug 2004 05:29:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2711&amp;title=get-active-pane#2711</guid>
  </item> 
  <item>
   <title><![CDATA[Get Active Pane : I tried that. Every pane seems...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2678&amp;title=get-active-pane#2678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1025<br /><strong>Posted:</strong> 06 August 2004 at 9:34am<br /><br />I tried that. Every pane seems to return true for IsPaneSelected. I think IsPaneSelected tells you which pane is selected if the tabs are showing (meaning, more then one pane is attached to another.) I also tried IsSelected but IsPaneSelected calls IsSelected on the pane.]]>
   </description>
   <pubDate>Fri, 06 Aug 2004 09:34:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2678&amp;title=get-active-pane#2678</guid>
  </item> 
  <item>
   <title><![CDATA[Get Active Pane : I believe you can use the IsSelected...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2673&amp;title=get-active-pane#2673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1025<br /><strong>Posted:</strong> 06 August 2004 at 7:25am<br /><br />I believe you can use the IsSelected and Select methods defined inXTPDockingPane.h or IsPaneSelected defined in XTPDockingPaneManager.h.]]>
   </description>
   <pubDate>Fri, 06 Aug 2004 07:25:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2673&amp;title=get-active-pane#2673</guid>
  </item> 
  <item>
   <title><![CDATA[Get Active Pane : I am trying to determine what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2664&amp;title=get-active-pane#2664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1025<br /><strong>Posted:</strong> 05 August 2004 at 10:50am<br /><br />I am trying to determine what pane is currently selected/active, regardless of whether it is docked or hidden or floating. I have a custom Theme that changes the selected/active Panes title bars color to orange when it is selected/active. I want the function to return a ptr to that Pane. I didn't find a function that did what I was looking for so I tried to write one but it is not working. I need this so that I can set focus back to what last had focus during certain situations. This is what my current function looks like. Any suggestions or does anyone know of any other function that already does what I am looking for?<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />CXTPDockingPane* CMyManager::GetActivePane()<br />{<br />  CXTPDockingPaneInfoList& paneList = m_paneManager.GetPaneList();<br />  POSITION pos = paneList.GetHeadPosition();<br />  <br />  CXTPDockingPaneTabbedContainer* pContainer = NULL;<br />  CXTPDockingPane* pPane = NULL;<br />  while (pos)<br />  {<br />&nbsp;&nbsp;&nbsp;&nbsp;pPane = paneList.GetNext(pos);<br />&nbsp;&nbsp;&nbsp;&nbsp;pContainer =  ((CXTPDockingPaneTabbedContainer*)pPane-&gt;GetContainer()); <br />&nbsp;&nbsp;&nbsp;&nbsp;if (pContainer && pContainer-&gt;IsActive())<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return pPane;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />  }<br />  return NULL;<br />}<br /></pre></td></tr></table><span style="font-size:10px"><br /><br />Edited by developer</span>]]>
   </description>
   <pubDate>Thu, 05 Aug 2004 10:50:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1025&amp;PID=2664&amp;title=get-active-pane#2664</guid>
  </item> 
 </channel>
</rss>