<?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[Tastedruck erkennen]]></title><description><![CDATA[<p>Hallo,<br />
ich möchte, einen Befehl bei Tastendruck ausgeführen...<br />
Genauer:<br />
Ich möchte bei drücken der z.B. Leertaste das Fenster beenden.<br />
Habt ihr Ideen?<br />
Geht das nur über einen Timer, wie frage ich den Tastendruck ab?</p>
<p>Karlo</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/108737/tastedruck-erkennen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 05:06:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/108737.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 May 2005 17:03:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tastedruck erkennen on Mon, 02 May 2005 17:03:57 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich möchte, einen Befehl bei Tastendruck ausgeführen...<br />
Genauer:<br />
Ich möchte bei drücken der z.B. Leertaste das Fenster beenden.<br />
Habt ihr Ideen?<br />
Geht das nur über einen Timer, wie frage ich den Tastendruck ab?</p>
<p>Karlo</p>
]]></description><link>https://www.c-plusplus.net/forum/post/780339</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780339</guid><dc:creator><![CDATA[Karlo2]]></dc:creator><pubDate>Mon, 02 May 2005 17:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Mon, 02 May 2005 17:05:44 GMT]]></title><description><![CDATA[<p>Hallo,<br />
Dafür gibt es die Properties<br />
OnKeyPress();<br />
OnKeyDown();<br />
und<br />
OnKeyUp();</p>
]]></description><link>https://www.c-plusplus.net/forum/post/780340</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780340</guid><dc:creator><![CDATA[Reyx]]></dc:creator><pubDate>Mon, 02 May 2005 17:05:44 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Mon, 02 May 2005 20:23:51 GMT]]></title><description><![CDATA[<p>Schau mal im C++Builder im Objektinstpektor bei Erreignisse, da findest du du ganzen Funktionen.</p>
<p>KeyPress(char* Key) liefert dir den ASCII-Code der gedrücktetn Tast zurück.<br />
So kannst du dann z.B. über eine if-Schleife abfragen ob z.B. 13 (=Enter) gedrückt wurde.</p>
<p>if (Key == 13)<br />
{<br />
.....<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/780523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780523</guid><dc:creator><![CDATA[dr.sam]]></dc:creator><pubDate>Mon, 02 May 2005 20:23:51 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Mon, 02 May 2005 20:33:22 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>@ dr.sam :<br />
wenn du schon andere Leute nachplapperst, dann bitte richtig :</p>
<pre><code class="language-cpp">if (Key == 13)
</code></pre>
<p>statt dessen sollte man lieber die Virtual Keycodes von Windows nehmen :</p>
<pre><code class="language-cpp">if (Key == VK_RETURN)
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/780533</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780533</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 02 May 2005 20:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Mon, 02 May 2005 20:43:10 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>@ akari:</p>
<blockquote>
<pre><code class="language-cpp">if (Key == VK_RETURN)
</code></pre>
</blockquote>
<p>habe ich selbst nicht gewußt, Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/780544</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780544</guid><dc:creator><![CDATA[dr.sam]]></dc:creator><pubDate>Mon, 02 May 2005 20:43:10 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Tue, 03 May 2005 13:16:48 GMT]]></title><description><![CDATA[<p>dr.sam schrieb:</p>
<blockquote>
<p>So kannst du dann z.B. über eine if-Schleife abfragen</p>
</blockquote>
<p>Und nochmal: <a href="http://www.if-schleife.de" rel="nofollow">www.if-schleife.de</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/780898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780898</guid><dc:creator><![CDATA[audacia]]></dc:creator><pubDate>Tue, 03 May 2005 13:16:48 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Tue, 03 May 2005 15:26:40 GMT]]></title><description><![CDATA[<p>Von Audacia:</p>
<p>Es gibt keine if-Schleifen, sondern nur if-Abfragen!</p>
<p>??????????????????????<br />
Ich dachte immer mit if macht man 'ne Programm- VERZWEIGUNG.<br />
Bin ich D*** <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/780977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/780977</guid><dc:creator><![CDATA[DerAltenburger]]></dc:creator><pubDate>Tue, 03 May 2005 15:26:40 GMT</pubDate></item><item><title><![CDATA[Reply to Tastedruck erkennen on Tue, 03 May 2005 16:57:22 GMT]]></title><description><![CDATA[<p>DerAltenburger schrieb:</p>
<blockquote>
<p>Ich dachte immer mit if macht man 'ne Programm- VERZWEIGUNG.</p>
</blockquote>
<p>Sicher, und die Verzweigung deines Programmes wird durch eine if-Abfrage entschieden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/781050</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/781050</guid><dc:creator><![CDATA[audacia]]></dc:creator><pubDate>Tue, 03 May 2005 16:57:22 GMT</pubDate></item></channel></rss>