<?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 : [Solved] Ctrl- not working in dialog form</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [Solved] Ctrl- not working in dialog form]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 11:04:13 +0000</pubDate>
  <lastBuildDate>Tue, 14 Dec 2010 06:43:19 +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=17594</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[[Solved] Ctrl- not working in dialog form : Yepp, that&amp;#039;s working. Should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61800&amp;title=solved-ctrl-not-working-in-dialog-form#61800</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 14 December 2010 at 6:43am<br /><br />Yepp, that's working. Should be added to CXTPEdit.<br>Thanx!<br><br>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 06:43:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61800&amp;title=solved-ctrl-not-working-in-dialog-form#61800</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form : Hi,yes, seems CXTPEdit also doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61791&amp;title=solved-ctrl-not-working-in-dialog-form#61791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 14 December 2010 at 2:12am<br /><br />Hi,<div><br></div><div>yes, seems CXTPEdit also doesn't catch these keys automatically.</div><div><br></div><div>here simple class for you:</div><div><br></div><div><div>class CMyEdit : public CEdit</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>BOOL PreTranslateMessage(MSG* pMsg)</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>if (pMsg-&gt;message == WM_KEYDOWN &amp;&amp; IsDialogMessage(pMsg))</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>return TRUE;</div><div><span ="Apple-tab-span" style="white-space:pre">		</span></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>return CEdit::PreTranslateMessage(pMsg);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div>};</div><div><br></div></div><div><br></div><div>...</div><div><div>CMyEdit m_wndEdit;</div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 02:12:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61791&amp;title=solved-ctrl-not-working-in-dialog-form#61791</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form :  Have tried CXTPEdit now. Doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61788&amp;title=solved-ctrl-not-working-in-dialog-form#61788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 13 December 2010 at 6:35pm<br /><br />Have tried CXTPEdit now. Doesn't seem to work as suggested.<br>And...<br><br>void CAccountingViewTransaction::DoDataExchange(CDataExchange* pDX)<br>{<br>&nbsp; CFormView::DoDataExchange(pDX);<br>&nbsp; DDX_Text(pDX, IDC_REFERENCE, m_strReference);<br>&nbsp; DDX_Control(pDX, IDC_REFERENCE, m_wndReference);<br>}<br><br>where m_strReference (CString) is used and m_wndReference (CXTPEdit) is a dummy - <br><br>... doesn't work, too.<br><br>So, still not solved.<br><br>]]>
   </description>
   <pubDate>Mon, 13 Dec 2010 18:35:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61788&amp;title=solved-ctrl-not-working-in-dialog-form#61788</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form : Hi,you can have both DDX_Text...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61600&amp;title=solved-ctrl-not-working-in-dialog-form#61600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 29 November 2010 at 10:02am<br /><br />Hi,<div><br></div><div>you can have both DDX_Text and DDX_Control without problem for same Edit</div>]]>
   </description>
   <pubDate>Mon, 29 Nov 2010 10:02:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61600&amp;title=solved-ctrl-not-working-in-dialog-form#61600</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form : Yes, I&amp;#039;m aware that CXTPEdit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61589&amp;title=solved-ctrl-not-working-in-dialog-form#61589</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 29 November 2010 at 5:21am<br /><br />Yes, I'm aware that CXTPEdit is a CEdit derived class. Acutally I wasn't correct in writing DDX_Control, I meant the DDX mechanism, using <b>DDX_Text</b> in this case to set/retrieve CStrings.<br><br>Of course I could add CXTPEdit members for every edit box and use DDX_Control, but then I have to update/set every associated CString manually.<br><br>]]>
   </description>
   <pubDate>Mon, 29 Nov 2010 05:21:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61589&amp;title=solved-ctrl-not-working-in-dialog-form#61589</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form : Hi,CXTPEditis CEdit deriverd class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61585&amp;title=solved-ctrl-not-working-in-dialog-form#61585</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 29 November 2010 at 3:56am<br /><br /><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Hi,</span><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">CXTPEdit&nbsp;is CEdit deriverd class so same&nbsp;</span><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">DDX_Control/String thigs work for it.</span></div>]]>
   </description>
   <pubDate>Mon, 29 Nov 2010 03:56:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61585&amp;title=solved-ctrl-not-working-in-dialog-form#61585</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form : Actually I don&amp;#039;t want to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61575&amp;title=solved-ctrl-not-working-in-dialog-form#61575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 28 November 2010 at 5:08am<br /><br />Actually I don't want to use CXTPEdit cause all edit fields in the docking panes dialogs are using DDX_Control and normal CStrings to store/retrieve data.<br><br>Any other suggestions how to get copy paste working in there?<br><br>]]>
   </description>
   <pubDate>Sun, 28 Nov 2010 05:08:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61575&amp;title=solved-ctrl-not-working-in-dialog-form#61575</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form : Hi,If you have Ctrl+C n your main...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61547&amp;title=solved-ctrl-not-working-in-dialog-form#61547</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 25 November 2010 at 7:45am<br /><br />Hi,<div><br></div><div>If you have Ctrl+C n your main Accelerator table it will be converted to ID_EDIT_COPY command.</div><div><br></div><div>you can try CXTPEdit class instead - it catch keys before MFC translate them.&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 25 Nov 2010 07:45:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61547&amp;title=solved-ctrl-not-working-in-dialog-form#61547</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] Ctrl- not working in dialog form :    Any Ctrl- combinations (ctrl-x,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61514&amp;title=solved-ctrl-not-working-in-dialog-form#61514</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 17594<br /><strong>Posted:</strong> 23 November 2010 at 2:25pm<br /><br />Any Ctrl- combinations (ctrl-x, ctrl-c) are not working in CEdit fields in any dialog forms when used in a docking bar.<br>You can easily try with your ActivePaneView example by placing an EditControl in the dialogbox. Ctrl-X is not working inside. Tested with MfC 13.4.2<br><br>Seems to be an issue with keyboard hooking...<br><br>]]>
   </description>
   <pubDate>Tue, 23 Nov 2010 14:25:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17594&amp;PID=61514&amp;title=solved-ctrl-not-working-in-dialog-form#61514</guid>
  </item> 
 </channel>
</rss>