<?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 : Pressing c&#111;ntrol tab to attached panes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Pressing c&#111;ntrol tab to attached panes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 10:12:38 +0000</pubDate>
  <lastBuildDate>Tue, 17 Jan 2006 01:12:42 +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=3516</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[Pressing c&#111;ntrol tab to attached panes : Hello, You don&amp;#039;t need catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10552&amp;title=pressing-control-tab-to-attached-panes#10552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3516<br /><strong>Posted:</strong> 17 January 2006 at 1:12am<br /><br /><P>Hello,</P><P>You don't need catch WM_KEYDOWN, you need to override PreTranslateMessage.</P>]]>
   </description>
   <pubDate>Tue, 17 Jan 2006 01:12:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10552&amp;title=pressing-control-tab-to-attached-panes#10552</guid>
  </item> 
  <item>
   <title><![CDATA[Pressing c&#111;ntrol tab to attached panes : Well, yes I tried it in the mainfrm...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10548&amp;title=pressing-control-tab-to-attached-panes#10548</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1642">nguyena1</a><br /><strong>Subject:</strong> 3516<br /><strong>Posted:</strong> 16 January 2006 at 3:24pm<br /><br /><P>Well, yes I tried it in the mainfrm but, well this is probably a newb mistake of me but, for the message WM_KEYDOWN, i get that if i click the main app and press ctrl tab.&nbsp; But if i click on an individual pane(give the individual panes focus), my mainfrm doesnt receive the message(put a breakpoint inside WM_KEYDOWN).&nbsp;&nbsp;</P><P>So I put the code inside of CMyFormView.&nbsp; At&nbsp;first it looks like it works.&nbsp; It&nbsp;switches panes within the attached pane.&nbsp; I actually added&nbsp;next to <FONT face="Courier New" size=1>pSelected-&gt;Select();&nbsp;pSelected-&gt;SetFocus();&nbsp; </FONT>&nbsp;However,&nbsp;say you have declared 3 CMyFormView called m_ViewControl1, m_ViewControl2, and m_ViewControl3, which are individual docking panes.&nbsp; </P><P>Take these 3 panes and&nbsp;attach them together.&nbsp; Say right now you the 1st pane clicked.&nbsp; You press Ctrl-Tab.&nbsp; It looks like the 2nd pane is now selected(and focused).&nbsp; But the 2nd pane actually isn't focus.&nbsp; If you press ctrl-tab again, m_ViewControl2's PreTranslateMessage should be called, but in actuality, m_ViewControl1's is being called(checked by putting a break point there and checking the m_ID).&nbsp; </P><P>In mainfrm I have something that&nbsp;is based on which pane has focus(pDockingPane-&gt;IsFocus() and displays ,m_ID of that class.&nbsp; Well when ever you ctrl tab, it correctly displays each pane in the attached pane container because it is&nbsp;based on GetSelected().&nbsp; However, on my main app, it is still displaying the integer from the 1st pane i had clicked on.&nbsp; If you click on each attached pane, it has the correct focus, but ctrl tabbing does not give the right focus to each pane.&nbsp; </P><P>Is this because I am trying to SetFocus to another pane from within my viewcontrol?&nbsp; </P><P>All in all, I was just thinking that there might be a simpiler solution if it already automatically ctrl-tab's just like in a tabmanager.&nbsp; </P>]]>
   </description>
   <pubDate>Mon, 16 Jan 2006 15:24:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10548&amp;title=pressing-control-tab-to-attached-panes#10548</guid>
  </item> 
  <item>
   <title><![CDATA[Pressing c&#111;ntrol tab to attached panes : Hi, Did you try code in this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10545&amp;title=pressing-control-tab-to-attached-panes#10545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3516<br /><strong>Posted:</strong> 16 January 2006 at 12:10pm<br /><br /><P>Hi,</P><P>Did you try code in this old solution? I just replace VK_F6 to VK_TAB and it works.</P>]]>
   </description>
   <pubDate>Mon, 16 Jan 2006 12:10:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10545&amp;title=pressing-control-tab-to-attached-panes#10545</guid>
  </item> 
  <item>
   <title><![CDATA[Pressing c&#111;ntrol tab to attached panes : Hey guys, I was wondering if there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10541&amp;title=pressing-control-tab-to-attached-panes#10541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1642">nguyena1</a><br /><strong>Subject:</strong> 3516<br /><strong>Posted:</strong> 16 January 2006 at 11:14am<br /><br /><P>Hey guys, I was wondering if there is an automatic way to press control tab and have it move within tabbed panes in an attached pane.&nbsp; </P><P>I figure there should be a very easy solution, some flag to toggle, since cxtpdockingpanetabbed container is derived from cxtptabmanager.&nbsp; If not, is the best way to do it to follow how you(Oleg) did it in the follow link?</P><P><A href="https://forum.codejock.com/forum_posts.asp?TID=619&amp;KW=c&#111;ntrol+tab+attached" target="_blank"> https://forum.codejock.com/forum_posts.asp?TID=619&amp;KW=co ntrol+tab+attached</A></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 16 Jan 2006 11:14:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3516&amp;PID=10541&amp;title=pressing-control-tab-to-attached-panes#10541</guid>
  </item> 
 </channel>
</rss>