<?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 : Docking pane edit commands</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Docking pane edit commands]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 18:03:12 +0000</pubDate>
  <lastBuildDate>Tue, 01 Apr 2008 12:55:31 +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=10009</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[Docking pane edit commands : Hi,  It was right suggestion.  Add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32932&amp;title=docking-pane-edit-commands#32932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10009<br /><strong>Posted:</strong> 01 April 2008 at 12:55pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>It was right suggestion.</DIV><DIV>&nbsp;</DIV><DIV>Add in our sample this code:</DIV><DIV>&nbsp;</DIV><DIV>BOOL CMainFrame::OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo) <BR>{<BR>&nbsp;CXTPDockingPane* pPane = m_paneManager.GetActivePane();<BR>&nbsp;CWnd* pWnd = pPane ? pPane-&gt;GetChild() : 0;<BR>&nbsp;<BR>&nbsp;if (pWnd &amp;&amp; pWnd-&gt;OnCmdMsg(nID, nCode, pExtra, pHandlerInfo))<BR>&nbsp;&nbsp;return TRUE;&nbsp;</DIV><DIV>&nbsp;return CFrameWnd::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);<BR>}<BR></DIV><DIV>and it will work.</DIV>]]>
   </description>
   <pubDate>Tue, 01 Apr 2008 12:55:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32932&amp;title=docking-pane-edit-commands#32932</guid>
  </item> 
  <item>
   <title><![CDATA[Docking pane edit commands : Hi, What happened next? We have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32926&amp;title=docking-pane-edit-commands#32926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3875">desrupali</a><br /><strong>Subject:</strong> 10009<br /><strong>Posted:</strong> 01 April 2008 at 11:06am<br /><br /><P>Hi,</P><P>What happened next?</P><P>We have bought the product and using it.</P><DIV>So please give us support for these kind of bugs.</DIV>]]>
   </description>
   <pubDate>Tue, 01 Apr 2008 11:06:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32926&amp;title=docking-pane-edit-commands#32926</guid>
  </item> 
  <item>
   <title><![CDATA[Docking pane edit commands : Hi,  Thanks for the reply. But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32854&amp;title=docking-pane-edit-commands#32854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3875">desrupali</a><br /><strong>Subject:</strong> 10009<br /><strong>Posted:</strong> 31 March 2008 at 3:31am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Thanks for the reply.</DIV><DIV>But your solution does not work.</DIV><DIV>I get stack overflow message if I handle OnCmdMsg.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Can you send me sample with the resolution?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 03:31:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32854&amp;title=docking-pane-edit-commands#32854</guid>
  </item> 
  <item>
   <title><![CDATA[Docking pane edit commands : If the view is active (you need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32847&amp;title=docking-pane-edit-commands#32847</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10009<br /><strong>Posted:</strong> 31 March 2008 at 2:39am<br /><br /><P>If the view is active (you need to call SetActiveView), it should work automatically.&nbsp;Otherwise, I think you need to explicitly call OnCmdMsg. See the MFC documentation for details regarding this function.</P><DIV></DIV><DIV></DIV>I did this in my application where I have no active view:<DIV>&nbsp;</DIV><DIV>BOOL CMyFrame::OnCmdMsg(...)</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; CWnd *pWnd = m_paneManager.GetActivePaneWindow();</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; if (pWnd &amp;&amp; pWnd-&gt;OnCmdMsg(...))</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; return CFrameWnd::OnCmdMsg(...);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>If you don't do that, the WM_KEYDOWN-message will not be propagated to your pane!</DIV>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 02:39:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32847&amp;title=docking-pane-edit-commands#32847</guid>
  </item> 
  <item>
   <title><![CDATA[Docking pane edit commands : Hi,  I am using docking pane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32842&amp;title=docking-pane-edit-commands#32842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3875">desrupali</a><br /><strong>Subject:</strong> 10009<br /><strong>Posted:</strong> 31 March 2008 at 1:55am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I am using docking pane embedded CEditView in it.</DIV><DIV>In this dockable window Edit shortcut keys like Ctrl+C/Ctrl+V/Ctrl+X/Ctrl+Z do not work. Thses shortcuts are necessary to work.</DIV><DIV>&nbsp;</DIV><DIV>The same issue you will find in your dymamic panes sample.</DIV><DIV>How to resolve this issue?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 01:55:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10009&amp;PID=32842&amp;title=docking-pane-edit-commands#32842</guid>
  </item> 
 </channel>
</rss>