<?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 : Handle pane-toolbar commands in CMainFrame</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Handle pane-toolbar commands in CMainFrame]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 19:46:08 +0000</pubDate>
  <lastBuildDate>Thu, 13 Aug 2009 01:46:32 +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=14953</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[Handle pane-toolbar commands in CMainFrame : Hi,  yes, it&amp;#039;s right solution....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14953&amp;PID=51914&amp;title=handle-panetoolbar-commands-in-cmainframe#51914</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14953<br /><strong>Posted:</strong> 13 August 2009 at 1:46am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>yes, it's right solution.</DIV>]]>
   </description>
   <pubDate>Thu, 13 Aug 2009 01:46:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14953&amp;PID=51914&amp;title=handle-panetoolbar-commands-in-cmainframe#51914</guid>
  </item> 
  <item>
   <title><![CDATA[Handle pane-toolbar commands in CMainFrame :  Correct me if I&amp;#039;m wrong,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14953&amp;PID=51888&amp;title=handle-panetoolbar-commands-in-cmainframe#51888</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14953<br /><strong>Posted:</strong> 12 August 2009 at 5:09am<br /><br /><FONT color=#008000 size=2><FONT color=#008000 size=2><DIV><FONT color=#000000>Correct me if I'm wrong, but shouldn't all commands be propagated from CMainFrame and then routed?</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>When I put a CXTPToolBar inside a pane, the commands are only sent to this window.&nbsp;A solution is to set the owner:</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>// Propagate toolbar commands to main frame!</FONT></DIV><DIV></FONT></FONT><FONT color=#000000><FONT size=2><FONT size=2>m_wndToolBar</FONT></FONT><FONT size=2>.</FONT><FONT size=2><FONT size=2>SetOwner</FONT></FONT><FONT size=2>(</FONT><FONT size=2><FONT size=2>AfxGetMainWnd</FONT></FONT><FONT size=2>());</FONT></FONT></DIV><DIV><FONT color=#000000><FONT size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#000000><FONT size=2>Is this the best way of doing this?</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 12 Aug 2009 05:09:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14953&amp;PID=51888&amp;title=handle-panetoolbar-commands-in-cmainframe#51888</guid>
  </item> 
 </channel>
</rss>