<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Keyevents]]></title><description><![CDATA[<p>Hallo, ich mal wieder ;-)....<br />
mal so ne frage:<br />
Ich habe nen Dialog modal geöffnet und will dann den Delete-Key abfangen, um<br />
dann die markierten Einträge in ner ListControl zu entfernen.<br />
Ihc hab dafür in dem entsprechenden Dialog das Ereignis eingefügt.<br />
Zum Test hab ich dann versucht bei Tastendruck einfach ne MessageBox zu öffnen,<br />
aber keine Reaktion.<br />
Weiss jemand von Euch, woran es liegen kann?</p>
<pre><code class="language-cpp">void CMailDialog::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
	// TODO: Code für die Behandlungsroutine für Nachrichten hier einfügen und/oder Standard aufrufen
          AfxMessageBox(&quot;Bei Tastendruck sollte ich eigentlich anggezeigt werden&quot;);
	CDialog::OnKeyDown(nChar, nRepCnt, nFlags);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/72413/keyevents</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 10:57:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/72413.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Apr 2004 13:27:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Keyevents on Wed, 28 Apr 2004 13:27:37 GMT]]></title><description><![CDATA[<p>Hallo, ich mal wieder ;-)....<br />
mal so ne frage:<br />
Ich habe nen Dialog modal geöffnet und will dann den Delete-Key abfangen, um<br />
dann die markierten Einträge in ner ListControl zu entfernen.<br />
Ihc hab dafür in dem entsprechenden Dialog das Ereignis eingefügt.<br />
Zum Test hab ich dann versucht bei Tastendruck einfach ne MessageBox zu öffnen,<br />
aber keine Reaktion.<br />
Weiss jemand von Euch, woran es liegen kann?</p>
<pre><code class="language-cpp">void CMailDialog::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
	// TODO: Code für die Behandlungsroutine für Nachrichten hier einfügen und/oder Standard aufrufen
          AfxMessageBox(&quot;Bei Tastendruck sollte ich eigentlich anggezeigt werden&quot;);
	CDialog::OnKeyDown(nChar, nRepCnt, nFlags);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/510436</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510436</guid><dc:creator><![CDATA[Bummsfallera]]></dc:creator><pubDate>Wed, 28 Apr 2004 13:27:37 GMT</pubDate></item><item><title><![CDATA[Reply to Keyevents on Wed, 28 Apr 2004 14:00:21 GMT]]></title><description><![CDATA[<p>ok, hab es schon -&gt; SORRY</p>
]]></description><link>https://www.c-plusplus.net/forum/post/510464</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/510464</guid><dc:creator><![CDATA[Bummsfallera]]></dc:creator><pubDate>Wed, 28 Apr 2004 14:00:21 GMT</pubDate></item></channel></rss>