<?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 : How do I determine which Pane is active?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : How do I determine which Pane is active?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:48:42 +0000</pubDate>
  <lastBuildDate>Wed, 04 May 2005 11:03:19 +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=1173</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[How do I determine which Pane is active? : I really need that event to. I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=6451&amp;title=how-do-i-determine-which-pane-is-active#6451</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1113">knight4c</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 04 May 2005 at 11:03am<br /><br />I really need that event to. <BR>I only whant to refresh a grid in a panel&nbsp;when the panel is selected to limit database access...]]>
   </description>
   <pubDate>Wed, 04 May 2005 11:03:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=6451&amp;title=how-do-i-determine-which-pane-is-active#6451</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : It is very nice that two new actions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=5736&amp;title=how-do-i-determine-which-pane-is-active#5736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=986">tknijff</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 15 March 2005 at 3:02am<br /><br /><P>It is very nice that two new actions PaneActionActivated and PaneActionDeActivated&nbsp;will be included! Keep on going with the good work...</P><P>Could you tell me when the next release is released?</P><P>Thanks,</P><P>Thierry</P>]]>
   </description>
   <pubDate>Tue, 15 Mar 2005 03:02:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=5736&amp;title=how-do-i-determine-which-pane-is-active#5736</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : In the next release 2 new actions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=5718&amp;title=how-do-i-determine-which-pane-is-active#5718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 14 March 2005 at 9:52am<br /><br />In the next release 2 new actions will be included; PaneActionActivatedand PaneActionDeActivated.&nbsp; There will also be a new property;DockingPane.ActivePane that will reference the currently active pane.]]>
   </description>
   <pubDate>Mon, 14 Mar 2005 09:52:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=5718&amp;title=how-do-i-determine-which-pane-is-active#5718</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? :   First let me say thank you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=5139&amp;title=how-do-i-determine-which-pane-is-active#5139</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 16 February 2005 at 2:18pm<br /><br /><p ="MsoPlainText">First let me say thank you to Codejock for continuing tosupport the Active-X version of your controls it is really appreciated.<span style="">&nbsp; </span>The release notes document is also very wellput together.<o:p></o:p></p><p ="MsoPlainText"><o:p>&nbsp;</o:p>I have been putting off wrestling with a way to get theactive pane hoping a new event would be added in 9.6.<span style="">&nbsp; </span>The new HighlighActiveCaption property isgreat and now I can see which the active pane regardless of the theme.<span style="">&nbsp; </span>However, I still can't find a way toprogrammatically determine what the active pane is.<span style="">&nbsp; </span>I need to enable/disable various menu optionsdepending on what the active pane is.<span style="">&nbsp; </span>AmI missing something?<o:p><br></o:p><br>Thanks,<o:p></o:p></p><p ="MsoPlainText">- James<o:p></o:p></p>]]>
   </description>
   <pubDate>Wed, 16 Feb 2005 14:18:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=5139&amp;title=how-do-i-determine-which-pane-is-active#5139</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : Thanks for the reply,it&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4344&amp;title=how-do-i-determine-which-pane-is-active#4344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 10 December 2004 at 10:49am<br /><br /><P>Thanks for the reply,&nbsp;it's great to get such fast feedback.</P><P>Although getting the active pane would seem a useful addition,&nbsp;perhaps there is an alternate way to do what I am interested in.&nbsp; I would like to be able to open a new pane as a tab in the currently active pane.&nbsp; Can anyone think of a work-around that would accomplish that?</P><P>I will investigate JScram's solution.&nbsp; We're using ATL but I assume the VB activate event is just generated by the standard windows message.</P><P>*edit*</P><P>It looks like the contained window gets a&nbsp;<!--StartFragment --> WM_IME_SETCONTEXT message as well as the WM_SETFOCUS and WM_KILLFOCUS messages.&nbsp; As a work-around I think I can use these to manually keep track of which pane is active.</P><P>*edit*</P><P>Thanks again,</P><P>- James</P><span style="font-size:10px"><br /><br />Edited by JamesH</span>]]>
   </description>
   <pubDate>Fri, 10 Dec 2004 10:49:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4344&amp;title=how-do-i-determine-which-pane-is-active#4344</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : So does Codejock plan to implement...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4339&amp;title=how-do-i-determine-which-pane-is-active#4339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 10 December 2004 at 6:54am<br /><br /><P>So does Codejock plan to implement a solution for this?&nbsp; I've seen this topic come up several times over the past year,&nbsp;many new updates to DockingPanes have been released,&nbsp;and there still hasn't been a solution to truly determine which pane is active.</P><P>Ideally, an event should be triggered when a pane is selected, and there should be a property that also returns the active pane.</P><P>I figure you're probably gearing up for another release very soon.&nbsp; Is this something Codejock can implement for that release?</P>]]>
   </description>
   <pubDate>Fri, 10 Dec 2004 06:54:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4339&amp;title=how-do-i-determine-which-pane-is-active#4339</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : There isn&amp;#039;t a good way to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4336&amp;title=how-do-i-determine-which-pane-is-active#4336</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 09 December 2004 at 10:38pm<br /><br />There isn't a good way to do this right now.&nbsp; JScram's solutionsounds like it might work.&nbsp; As for the multiple activepanes.&nbsp; I found that it count's hidden panes as active if theywere shown then auto hidden, even if another pane is selected.]]>
   </description>
   <pubDate>Thu, 09 Dec 2004 22:38:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4336&amp;title=how-do-i-determine-which-pane-is-active#4336</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : I am trying to get the selected...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4334&amp;title=how-do-i-determine-which-pane-is-active#4334</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 09 December 2004 at 6:06pm<br /><br /><P>I am trying to get the selected pane but it seems the selected property is true for more than one pane.&nbsp; Using the code sement below:</P><P>&nbsp;int numSelected = 0;<BR>&nbsp;// Find the selected pane<BR>&nbsp;for ( int x = 1; x &lt;= m_spPhotoPanes-&gt;PanesCount; x++ )<BR>&nbsp;{<BR>&nbsp;&nbsp;if ( m_spPhotoPanes-&gt;Panes&#091; x &#093;-&gt;Selected == VARIANT_TRUE &amp;&amp;<BR>&nbsp;&nbsp;&nbsp; m_spPhotoPanes-&gt;Panes&#091; x &#093;-&gt;Hidden == VARIANT_FALSE )<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;spSelectedPane = m_spPhotoPanes-&gt;Panes&#091; x &#093;;<BR>&nbsp;&nbsp;&nbsp;numSelected++;<BR>&nbsp;&nbsp;}<BR>&nbsp;}</P><P>The numSelected variable is greater than one.&nbsp; How can more than one pane be the active one?</P><P>Is there a better or different way to get the active pane?</P>]]>
   </description>
   <pubDate>Thu, 09 Dec 2004 18:06:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=4334&amp;title=how-do-i-determine-which-pane-is-active#4334</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : I actually found a workaround...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=3766&amp;title=how-do-i-determine-which-pane-is-active#3766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=787">JSram</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 30 October 2004 at 6:58am<br /><br />I actually found a workaround for this, although not sure if it's foolproof. If the pane is attached to a form handle, it seam that the formActivate event gets triggered each time a Pane tab is clicked. But I'mnot sure this is consistent.]]>
   </description>
   <pubDate>Sat, 30 Oct 2004 06:58:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=3766&amp;title=how-do-i-determine-which-pane-is-active#3766</guid>
  </item> 
  <item>
   <title><![CDATA[How do I determine which Pane is active? : Well this may work in some situation,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=3753&amp;title=how-do-i-determine-which-pane-is-active#3753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=787">JSram</a><br /><strong>Subject:</strong> 1173<br /><strong>Posted:</strong> 28 October 2004 at 5:07pm<br /><br />Well this may work in some situation, but is a very akward workaroundfor something as simple as a 'Click' or "Selected' event. This is avery basic event that can't be that hard to implement?<br><br>Your controls are really great in many ways, with almost a confusingload of classes, properties and methods BUT really poor on events thatcould make life a lot easier many times. After all Windows are aneventdriven environment... So please, an event to determine when apanes tab is selected. It could even go in the Action event, but well Iguess you knows best were to put it, but we need it.]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 17:07:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1173&amp;PID=3753&amp;title=how-do-i-determine-which-pane-is-active#3753</guid>
  </item> 
 </channel>
</rss>