<?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[tastensperre]]></title><description><![CDATA[<p>hallo, wie kann ich einzelne tasten blockieren ?!</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/158370/tastensperre</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 22:46:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/158370.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2006 19:10:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to tastensperre on Mon, 04 Sep 2006 19:10:13 GMT]]></title><description><![CDATA[<p>hallo, wie kann ich einzelne tasten blockieren ?!</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131076</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131076</guid><dc:creator><![CDATA[Foxx90]]></dc:creator><pubDate>Mon, 04 Sep 2006 19:10:13 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Mon, 04 Sep 2006 21:24:31 GMT]]></title><description><![CDATA[<p>Mit Standard C++ gar nicht. Aber dazu müsstest du sagen, was du machen willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131177</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:24:31 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Mon, 04 Sep 2006 21:32:41 GMT]]></title><description><![CDATA[<p>total beknackt, dass ständig gesagt wird, dies geht nicht mit standard c++ und jenes geht nicht mit standard c++. geht wohl mit standard c++!!! man muss es nur selbst implementieren, oder betriebssystem-bibliotheken (wer sagt man kann betriebssystem-bibliotheken nicht in standard c++ schreiben???) verwenden. wie auch immer, für betriebssystemspzifische dinge gibt es halt spezialforen. Hier zum Beispiel ein Thread im WinAPI-Forum: <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-158201-and-highlight-is-%2Ahook%2A.html" rel="nofollow">Tastatur Hook einrichten</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131184</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131184</guid><dc:creator><![CDATA[wohl]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:32:41 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Mon, 04 Sep 2006 21:36:35 GMT]]></title><description><![CDATA[<p>Wie dämlich ist das denn?</p>
<p>Stell dir vor, man kann mit Standard-C++ sogar ein komplett eigenes Betriebssystem schreiben!! Aber ich denke nicht, dass der Fragesteller das vorhatte.</p>
<p>Also bleiben ja wohl nur OS-Funktionen. Und mit deinem Link in ein <strong>Betriebssytem-spezifisches</strong> Forum gibst du das ja auch offen zu.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131186</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:36:35 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Mon, 04 Sep 2006 21:40:22 GMT]]></title><description><![CDATA[<p>genau.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131189</guid><dc:creator><![CDATA[wohl]]></dc:creator><pubDate>Mon, 04 Sep 2006 21:40:22 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 07:53:55 GMT]]></title><description><![CDATA[<p>DarthZiu schrieb:</p>
<blockquote>
<p>Stell dir vor, man kann mit Standard-C++ sogar ein komplett eigenes Betriebssystem schreiben!!</p>
</blockquote>
<p>Nichtmal, ich glaube nämlich nicht dass ein Bootloader mit den Mitteln von Standard-C++ (was die Sprache und die Stdlib einschliesst) machbar ist <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/1131273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131273</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Tue, 05 Sep 2006 07:53:55 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 16:30:26 GMT]]></title><description><![CDATA[<p>ok also ich hab nich erklärt warum ich das will...<br />
ich will verhindern, das wenn ich z.B. die Pfeil-links taste drücke, mein programm nich beeinflusst aba...nur für kurzue zeit...ich mache grad ein kleines game..(konsole) und ich will, das wenn ich zB. ein hindernis für den player in der konsole hab der nich einfach dadurch gehen kann...ich dachte mir das geht am besten mit tastenblo9ckade..(falls es sowas gibt) (bin offen für weitere vorschläge!!!)</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131691</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131691</guid><dc:creator><![CDATA[Foxx90]]></dc:creator><pubDate>Tue, 05 Sep 2006 16:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 16:34:27 GMT]]></title><description><![CDATA[<p>Wenn du dir viel mühe machen willst, dann programmiere einen einfachen Filtertreiber, welcher die Tasten blockiert, ansonsten guck dir mal die Funktion SetWindowsHook an</p>
<p>PS: Ich gehe mal davon aus, dass du Windwos nimmst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131692</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131692</guid><dc:creator><![CDATA[Schildkroete]]></dc:creator><pubDate>Tue, 05 Sep 2006 16:34:27 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 17:02:09 GMT]]></title><description><![CDATA[<p>Wenn du so ein Spiel schreiben willst, dann hast du ja sicher das Spielfeld (wo ist der player? wo sind die hindernisse?) in einem Array hinterlegt und kannst ja somit abfangen, dass der Spieler über Hindernisse läuft.</p>
<p>Versteh deinen Spielaufbau zwar nicht so ganz, aber wenn du ein Konsolenprogramm schreibst, dann bewegt sich deine &quot;Figur&quot; ja nicht einfach von alleine durch Tastendrücke, sondern du fragst im Programm ab, welche Taste gedrückt wurde. Dafür brauchst du ja keinen Keyboard-Hook.</p>
<p>Oder hab ich da was gänzlich missverstanden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131710</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Tue, 05 Sep 2006 17:02:09 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 17:14:55 GMT]]></title><description><![CDATA[<p>nien...nich gäznlich <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>
<p>aba...naja im prinzipo hast du recht was deine annahme angeht!<br />
also: ich lasse das programm die tasten abfragen, und falls links, recht, oben oder unten gedrückt wurde bewegt sich &quot;der player&quot; eine koordinate in die dem entsprechende richtung! ..hab ich bishewr alles ohne array gemacht...also...damit sollte die funktiuon des games klar sein..(offen für hilfe!)</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131717</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131717</guid><dc:creator><![CDATA[Foxx90]]></dc:creator><pubDate>Tue, 05 Sep 2006 17:14:55 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 17:22:24 GMT]]></title><description><![CDATA[<p>warum machst du es dann nicht so, wie DarthZiu es gesagt hat? Wenn du nicht willst, dass dein Programm auf bestimmte Tasteneingaben reagiert, ignoriere doch einfach diese Eingaben!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131723</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131723</guid><dc:creator><![CDATA[Schildkroete]]></dc:creator><pubDate>Tue, 05 Sep 2006 17:22:24 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 17:31:15 GMT]]></title><description><![CDATA[<p>geht das denn auch iwie andeers als mit &quot;hooks&quot;<br />
^^!!soll ja kein super mega komplieziertes game werden..</p>
<p>mfg</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131729</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131729</guid><dc:creator><![CDATA[Foxx90]]></dc:creator><pubDate>Tue, 05 Sep 2006 17:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 18:33:36 GMT]]></title><description><![CDATA[<p>Foxx90 schrieb:</p>
<blockquote>
<p>geht das denn auch iwie andeers als mit &quot;hooks&quot;</p>
</blockquote>
<p>Ich hatte doch geschrieben, dass man die <strong>nicht</strong> braucht ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131773</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131773</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Tue, 05 Sep 2006 18:33:36 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 19:03:01 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Du fragst doch eh die Tasten ab und da ist es doch ein leichter in die Abfrage noch eine Extraabfrage zu schreiben, die verhindert, dass der Rest der Funktion ausgeführt wird, wenn du es nicht willst.</p>
<p>Eben das, was DarthZiu wahrscheinlich gemeint hat nur anders (schlechter / besser) erklärt.</p>
<p>chrische</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131801</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131801</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 05 Sep 2006 19:03:01 GMT</pubDate></item><item><title><![CDATA[Reply to tastensperre on Tue, 05 Sep 2006 19:59:47 GMT]]></title><description><![CDATA[<p>Vermutlich fragt Foxx90 noch gar nicht die Tasten ab, oder? Falls es tatsächlich noch nicht so weit ist und trotz mangelnder Bestätigung Windows verwendet wird, könnte <a href="http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/getasynckeystate.asp?frame=true" rel="nofollow">GetAsyncKeystate</a> hilfreich sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1131838</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1131838</guid><dc:creator><![CDATA[vermuter]]></dc:creator><pubDate>Tue, 05 Sep 2006 19:59:47 GMT</pubDate></item></channel></rss>