<?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[Eine Mouse &#x2F; Keyb. Message &amp;quot;consumen&amp;quot; ?]]></title><description><![CDATA[<p>Hi, ich hab noch ne frage, aber neues Thema deshalb neuer Thread <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Ich habe in meiner DLL ein Keyb. hook und MouseHook. Nun würde ich gerne bestimmte Eingaben / Clicks abfangen und &quot;zerstören&quot;. Quasi wenn der User ein &quot;a&quot; drückt soll das a nicht weitergeleitet (z.B. Editor) werden, sondern abgefangen und &quot;consumiert&quot; (bei Java kann man Events consumieren) werden. Also ich möchte weiterhin über Eingabe informiert werden, nur die Eingabe soll bis in meine HookFunktion gelangen, und nicht weiter :).</p>
<p>Ich dachte wenn man &quot;CallNextHook&quot; weglässt, würde das reichen? Aber irgendwie klappt das nicht...</p>
<p>Wie geht das am besten?<br />
Danke für die Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/199421/eine-mouse-keyb-message-quot-consumen-quot</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 00:48:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/199421.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Dec 2007 21:31:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eine Mouse &#x2F; Keyb. Message &amp;quot;consumen&amp;quot; ? on Sun, 02 Dec 2007 21:32:34 GMT]]></title><description><![CDATA[<p>Hi, ich hab noch ne frage, aber neues Thema deshalb neuer Thread <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Ich habe in meiner DLL ein Keyb. hook und MouseHook. Nun würde ich gerne bestimmte Eingaben / Clicks abfangen und &quot;zerstören&quot;. Quasi wenn der User ein &quot;a&quot; drückt soll das a nicht weitergeleitet (z.B. Editor) werden, sondern abgefangen und &quot;consumiert&quot; (bei Java kann man Events consumieren) werden. Also ich möchte weiterhin über Eingabe informiert werden, nur die Eingabe soll bis in meine HookFunktion gelangen, und nicht weiter :).</p>
<p>Ich dachte wenn man &quot;CallNextHook&quot; weglässt, würde das reichen? Aber irgendwie klappt das nicht...</p>
<p>Wie geht das am besten?<br />
Danke für die Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1413988</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1413988</guid><dc:creator><![CDATA[Lumpeh]]></dc:creator><pubDate>Sun, 02 Dec 2007 21:32:34 GMT</pubDate></item><item><title><![CDATA[Reply to Eine Mouse &#x2F; Keyb. Message &amp;quot;consumen&amp;quot; ? on Mon, 03 Dec 2007 19:57:59 GMT]]></title><description><![CDATA[<p>keiner eine idee?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1414443</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1414443</guid><dc:creator><![CDATA[Lumpeh]]></dc:creator><pubDate>Mon, 03 Dec 2007 19:57:59 GMT</pubDate></item><item><title><![CDATA[Reply to Eine Mouse &#x2F; Keyb. Message &amp;quot;consumen&amp;quot; ? on Tue, 04 Dec 2007 07:12:04 GMT]]></title><description><![CDATA[<p>Bist Du schon mal auf die Idee gekommen die Dokumentatrion zu KeyboardProc zu lesen?</p>
<blockquote>
<p>If code is greater than or equal to zero, and the hook procedure did not process the message, <strong>it is highly recommended that you call CallNextHookEx</strong> and return the value it returns; otherwise, other applications that have installed WH_KEYBOARD hooks will not receive hook notifications and may behave incorrectly as a result. <strong>If the hook procedure processed the message, it may return a nonzero value to prevent the system from passing the message to the rest of the hook chain or the target window procedure</strong>.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1414553</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1414553</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 04 Dec 2007 07:12:04 GMT</pubDate></item><item><title><![CDATA[Reply to Eine Mouse &#x2F; Keyb. Message &amp;quot;consumen&amp;quot; ? on Tue, 04 Dec 2007 18:48:05 GMT]]></title><description><![CDATA[<p>danke funktioniert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1414963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1414963</guid><dc:creator><![CDATA[Lumpeh]]></dc:creator><pubDate>Tue, 04 Dec 2007 18:48:05 GMT</pubDate></item></channel></rss>