<?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 : VK_DELETE not received in OnKeyDown!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : VK_DELETE not received in OnKeyDown!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 18:53:19 +0000</pubDate>
  <lastBuildDate>Thu, 09 Apr 2009 06:10:11 +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=13919</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[VK_DELETE not received in OnKeyDown! : Hmm. If I can catch all other...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47720&amp;title=vk-delete-not-received-in-onkeydown#47720</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13919<br /><strong>Posted:</strong> 09 April 2009 at 6:10am<br /><br />Hmm. If I can catch all other keys, i'd expect to be able to catch VK_DELETE too.]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 06:10:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47720&amp;title=vk-delete-not-received-in-onkeydown#47720</guid>
  </item> 
  <item>
   <title><![CDATA[VK_DELETE not received in OnKeyDown! : It was historical change - I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47695&amp;title=vk-delete-not-received-in-onkeydown#47695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13919<br /><strong>Posted:</strong> 08 April 2009 at 4:26pm<br /><br />It was historical change - I don't know when - years ago? You can catch this in your app (or make accelerator) and react&nbsp;like GetReportControl()-&gt;Cut() <DIV>so this is not critical as easy to implement on your side</DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 16:26:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47695&amp;title=vk-delete-not-received-in-onkeydown#47695</guid>
  </item> 
  <item>
   <title><![CDATA[VK_DELETE not received in OnKeyDown! : No news? This is quite critical...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47648&amp;title=vk-delete-not-received-in-onkeydown#47648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13919<br /><strong>Posted:</strong> 07 April 2009 at 7:24am<br /><br />No news? This is quite critical if you ask me...]]>
   </description>
   <pubDate>Tue, 07 Apr 2009 07:24:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47648&amp;title=vk-delete-not-received-in-onkeydown#47648</guid>
  </item> 
  <item>
   <title><![CDATA[VK_DELETE not received in OnKeyDown! : XTP 13.0.0. Just discovered that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47568&amp;title=vk-delete-not-received-in-onkeydown#47568</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13919<br /><strong>Posted:</strong> 04 April 2009 at 6:26am<br /><br /><P>XTP 13.0.0.</P><DIV>Just discovered that my VK_DELETE-handler is never reached. Then I found this code:</DIV><DIV>&nbsp;</DIV><DIV>BOOL CXTPReportControl::PreTranslateMessage(MSG* pMsg)<BR>{<BR>&nbsp;&nbsp;&nbsp; if (pMsg-&gt;message == WM_KEYDOWN)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!OnPreviewKeyDown((UINT&amp;)pMsg-&gt;wParam, LOWORD(pMsg-&gt;lParam), HIWORD(pMsg-&gt;lParam)) )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE(_T("ReportControl, PreTranslateMessage<strong>m-</strong>OnPreviewKeyDown('%d') = CANCEL&nbsp; \n"), pMsg-&gt;wParam);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp; return CWnd::PreTranslateMessage(pMsg);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>And this:</DIV><DIV>&nbsp;</DIV><DIV>void CXTPReportControl::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)<BR>{<BR>//&nbsp; TRACE(_T("ReportControl, OnKeyDown('%d') \n"), nChar);</DIV><DIV>// Moved to PreTranslateMessage<BR>//&nbsp; if (!OnPreviewKeyDown(nChar, nRepCnt, nFlags))<BR>//&nbsp; {<BR>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<BR>//&nbsp; }<BR></DIV><DIV>&nbsp;</DIV><DIV><strong>Did you change the behavior or is this a bug?</strong></DIV>]]>
   </description>
   <pubDate>Sat, 04 Apr 2009 06:26:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13919&amp;PID=47568&amp;title=vk-delete-not-received-in-onkeydown#47568</guid>
  </item> 
 </channel>
</rss>