<?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 : Toolbar docking pane focus</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar docking pane focus]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 07:12:09 +0000</pubDate>
  <lastBuildDate>Fri, 29 Jan 2010 06:18:59 +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=16097</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[Toolbar docking pane focus : I guess you could override OnCmdMsg...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16097&amp;PID=56449&amp;title=toolbar-docking-pane-focus#56449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16097<br /><strong>Posted:</strong> 29 January 2010 at 6:18am<br /><br />I guess you could override OnCmdMsg and make sure the command is routed to that pane. E.g.<DIV>&nbsp;</DIV><DIV>CMainFrame::OnCmdMsg(...)</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp; if (m_paneWithToolbar.OnCmdMsg(...))</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; return ::OnCmdMsg(...);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>However, this could yield problems if your command is handled in different places. Usually, only the active window shall have a crack at the command.</DIV>]]>
   </description>
   <pubDate>Fri, 29 Jan 2010 06:18:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16097&amp;PID=56449&amp;title=toolbar-docking-pane-focus#56449</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar docking pane focus : Hello,We&amp;#039;re currently making...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16097&amp;PID=56419&amp;title=toolbar-docking-pane-focus#56419</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 16097<br /><strong>Posted:</strong> 28 January 2010 at 10:41am<br /><br />Hello,<br><br>We're currently making use of several toolbars within docking panes, and have noticed that clicking a button within a toolbar does <b>not</b> give focus to the parent docking pane.<br><br>This is a problem in our case because we have a pop-up menu in our toolbar, and it has accelerators associated with it. The accelerators won't fire until the docking pane has focus.<br><br>Is there any way to have the docking panel receive focus when a user clicks within its toolbar?<br>]]>
   </description>
   <pubDate>Thu, 28 Jan 2010 10:41:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16097&amp;PID=56419&amp;title=toolbar-docking-pane-focus#56419</guid>
  </item> 
 </channel>
</rss>