<?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 : ShowPane without Activation</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : ShowPane without Activation]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 22 May 2026 17:54:13 +0000</pubDate>
  <lastBuildDate>Fri, 27 Jun 2008 03:27:21 +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=11224</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[ShowPane without Activation : Hi,   I&amp;#039;m glad you didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37471&amp;title=showpane-without-activation#37471</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11224<br /><strong>Posted:</strong> 27 June 2008 at 3:27am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I'm glad you didn't try to create a sample because I could't open your project anyway, I have only VB6.0 installed. Maybe an option for you is to change your <strong>signature</strong> like I did so all members can see what version, platform and language you use.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Try to set the focus to the pane (with listview in it). </DIV><DIV>&nbsp;</DIV><DIV>In the DockingPane_Action event you can select the pane </DIV><DIV>&nbsp;</DIV><DIV>Select Case Action<BR>&nbsp;&nbsp;&nbsp;&nbsp;Case PaneActionActivated<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DockingPane.Panes(ID of the pane with listview in it).Select<BR>End Select</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 03:27:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37471&amp;title=showpane-without-activation#37471</guid>
  </item> 
  <item>
   <title><![CDATA[ShowPane without Activation :  I guess to be even more specific,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37469&amp;title=showpane-without-activation#37469</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3643">jemery</a><br /><strong>Subject:</strong> 11224<br /><strong>Posted:</strong> 27 June 2008 at 3:00am<br /><br />I guess to be even more specific, imagine a list of items like:<br><br>Ball<br>Turtle<br>Yellow<br>Moon<br>Green<br><br>When you use the keys to go up and down through the list you might want to show a property pane tied to the height and age of an object if the item is an object.&nbsp; If it's a color you might instead bring the color wheel to the front in order to see what the color looks like.<br><br>As it stands now I don't know how to do that as you would lose active control of the listBox whenever a pane is shown.&nbsp; Meaning when you press up to reach 'Turtle' the property pane takes over control because it has showPane called on it.<br><br>This is really abstract but it seems like a simple example of why you wouldn't want to have showPane take away control.<br><br>Maybe 'showPaneSilently?'<br>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 03:00:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37469&amp;title=showpane-without-activation#37469</guid>
  </item> 
  <item>
   <title><![CDATA[ShowPane without Activation : Hmm. I would have to create a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37468&amp;title=showpane-without-activation#37468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3643">jemery</a><br /><strong>Subject:</strong> 11224<br /><strong>Posted:</strong> 27 June 2008 at 2:51am<br /><br />Hmm.&nbsp; I would have to create a new one from scratch as I can't giveanything out (NDA).<br><br>I'd think it was a very simple issue if I can get it across.&nbsp; When youuse showPane it makes the pane you are bringing to the front the activeform for the application (I presume it calls Activate() on it).&nbsp; That'swhat I want to avoid.&nbsp; I don't want the pane to become the active formbut I still want to bring it to the front in the docking system.<br><br>We have lists of things in another pane that users want to be able toscroll through via the scroll wheel or arrow keys, but showPane stealsthe focus away whenever they select an item in the list.&nbsp; Admittedlyit's a nicety to be able to bring relevant panes about that item to thefront, but that feature vastly speeds up their workflow and we don'twant to lose it (it's useful enough that being unable to scroll throughthings is worth suffering through).<br><br>Here's a quick example straight from our app:<br><br>selectedIndexChanged event:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Pane thisPane = DockingPaneManager.FindPane(WindowID.DOCKING_WINDOW_GROUP_VIEW);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ((!thisPane.Hidden) &amp;&amp; (!thisPane.Closed))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>// This code makes the pane active, stealing focus from our currentwindow and making our users unhappy :) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DockingPaneManager.ShowPane(WindowID.DOCKING_WINDOW_GROUP_VIEW);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Setting focus back immediately does nothing as focusappears to be lost right after this code finishes execution, perhaps inanother thread.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.ListView.Activate();<br><br>I've tried puzzling through other things like making it hidden/unhidden but all other commands also seem to automatically call Activate() on the pane being shown.&nbsp; I can't seem to find anything to avoid that.<br>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 02:51:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37468&amp;title=showpane-without-activation#37468</guid>
  </item> 
  <item>
   <title><![CDATA[ShowPane without Activation : Hi,  Can you upload sample project?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37467&amp;title=showpane-without-activation#37467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11224<br /><strong>Posted:</strong> 27 June 2008 at 2:24am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you upload sample project? </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 02:24:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37467&amp;title=showpane-without-activation#37467</guid>
  </item> 
  <item>
   <title><![CDATA[ShowPane without Activation : I have an application I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37465&amp;title=showpane-without-activation#37465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3643">jemery</a><br /><strong>Subject:</strong> 11224<br /><strong>Posted:</strong> 27 June 2008 at 1:42am<br /><br />I have an application I'm working on where we have, say, a list of items you can scroll through and other windows display information about those items.<br><br>When the selectionChanged event is fired in the listView I want to bring the relevant data windows to that selection to the front of whatever set of windows it's in (basically make sure it's visible).<br><br>Unfortunately, the showPane function automatically takes focus away from the listView and setting back focus immediately doesn't seem to do anything (so far).<br><br>What I want to do is find an alternative (or a passable option parameter) for showPane that does -not- make the associated window active so that I can allow users to, say, scroll through the items.&nbsp; I've tried other possibilities like setting them hidden and the like, but all roads so far lead back to having to use showPane, which I do not want to do.<br><br>Is there something I'm overlooking?<br>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 01:42:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11224&amp;PID=37465&amp;title=showpane-without-activation#37465</guid>
  </item> 
 </channel>
</rss>