<?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[alle Tastendrücke empfangen]]></title><description><![CDATA[<p>Hallo, Ich würde gern ein Programm schreiben, mit dem man Winamp steuern kann. Leider finde ich keine Möglichkeit, um Tastendrücke zu empfangen, wenn mein Programm nicht im Fokus ist. Ich habe bis jetzt nur SetCapture und ReleaseCapture gefunden. Aber die funktionieren nicht.</p>
<p>Danke für alle Antworten<br />
mfg zickadizack</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/201554/alle-tastendrücke-empfangen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 05:39:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/201554.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 31 Dec 2007 17:37:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Mon, 31 Dec 2007 17:37:47 GMT]]></title><description><![CDATA[<p>Hallo, Ich würde gern ein Programm schreiben, mit dem man Winamp steuern kann. Leider finde ich keine Möglichkeit, um Tastendrücke zu empfangen, wenn mein Programm nicht im Fokus ist. Ich habe bis jetzt nur SetCapture und ReleaseCapture gefunden. Aber die funktionieren nicht.</p>
<p>Danke für alle Antworten<br />
mfg zickadizack</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1428681</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1428681</guid><dc:creator><![CDATA[zickadizack]]></dc:creator><pubDate>Mon, 31 Dec 2007 17:37:47 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Mon, 31 Dec 2007 21:37:05 GMT]]></title><description><![CDATA[<p>GetAsyncKeyState(), bzw. GetKeyState()</p>
<p>Schöne Grüße und einen guten Rutsch ins neue Jahr ! :xmas1:<br />
Xzi-bit</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1428719</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1428719</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 31 Dec 2007 21:37:05 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Tue, 01 Jan 2008 10:45:26 GMT]]></title><description><![CDATA[<p>Key-Hook, siehe FAQ.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1428773</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1428773</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Tue, 01 Jan 2008 10:45:26 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Wed, 02 Jan 2008 15:47:37 GMT]]></title><description><![CDATA[<p>Xzibit schrieb:</p>
<blockquote>
<p>GetAsyncKeyState(), bzw. GetKeyState()</p>
<p>Schöne Grüße und einen guten Rutsch ins neue Jahr ! :xmas1:<br />
Xzi-bit</p>
</blockquote>
<p>Geht bei mir auch net <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> . Das sendet bei mir immer nur 0 zurück. Irgendwie steh ich aufm Schlauch. Gib ma bitte nen Beispielcode.</p>
<p>mgf zickadizack</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429414</guid><dc:creator><![CDATA[zickadizack]]></dc:creator><pubDate>Wed, 02 Jan 2008 15:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Wed, 02 Jan 2008 17:44:06 GMT]]></title><description><![CDATA[<p>Nimm am besten DInput her <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /> Mit GetASyncKeySate müsste es allerdings klappen. Schon klar das GetASyncKeyState nicht von alleine in einer &quot;Schleife&quot; drinnen ist. Ihr müsst das in etwas so einbauen:</p>
<pre><code class="language-cpp">//MML(MainMessageLoop):
while(PeekMessageA(&amp;msg,hWindow,NULL,NULL))
{
	TranslateMessage(&amp;msg)
	DispatchMessage(&amp;msg)
	GetAsyncKeyState(VK_ESCAPE)
	{
		Do_Something();
	}
}
</code></pre>
<p>Ich hoffe ich konnte helfen. cYa<br />
P.S.: Wenn ihr werte überprüfen möchtet macht euch einen Konsolenthread <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429500</guid><dc:creator><![CDATA[You ll never find out]]></dc:creator><pubDate>Wed, 02 Jan 2008 17:44:06 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Thu, 03 Jan 2008 03:48:30 GMT]]></title><description><![CDATA[<p>Danke für den Code. Aber jetzt bin ich genau da wie vorher. Ich will ein Programm schreiben, dass <strong>alle</strong> Tastendrücke empfängt. So geht das ja nur, wenn das Programm im Fokus ist.</p>
<p>mgf zickadizack</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429686</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429686</guid><dc:creator><![CDATA[zickadizack]]></dc:creator><pubDate>Thu, 03 Jan 2008 03:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Thu, 03 Jan 2008 06:51:46 GMT]]></title><description><![CDATA[<p>Ja und dafür brauchst du einen Hook. Du kannst nicht einfach sagen &quot;Es geht nicht&quot;.<br />
Dann Debugge und versuch herauszufinden warum es nicht geht. Oder beschreibe hier dein &quot;es geht nicht&quot; genauer damit wir dir helfen können.<br />
Ansonsten kannst du auch mal bei <a href="http://codeproject.com" rel="nofollow">codeproject.com</a> nach hook suchen. Da gibt es auch genug zu diesem Thema.</p>
<p>MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429692</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429692</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Thu, 03 Jan 2008 06:51:46 GMT</pubDate></item><item><title><![CDATA[Reply to alle Tastendrücke empfangen on Thu, 03 Jan 2008 09:08:00 GMT]]></title><description><![CDATA[<p><a href="http://www.coding-board.de/board/showthread.php?t=25560" rel="nofollow">http://www.coding-board.de/board/showthread.php?t=25560</a></p>
<p>Da hab ich erklaert, wie n Hook funktioniert, auch wenns asm kann mans leicht nach C portieren, so groß ist der Unterschied dann auch nicht.</p>
<p>Btw: vllt sollte man mal dazu n FAQ Eintrag machen, die Frage kommt ja oefters mal auf <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429735</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429735</guid><dc:creator><![CDATA[dmesg]]></dc:creator><pubDate>Thu, 03 Jan 2008 09:08:00 GMT</pubDate></item></channel></rss>