<?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[C++ Tastendruck]]></title><description><![CDATA[<p>Hallo, ich hab einen Programm erstellt, das z.b. die Taste K drueckt.<br />
Jetzt kostet das viel Zeit, das K zu schreiben.<br />
Kann so was wie ein Signal ausloesen, dass die Taste gedrueckt wurde, ohne die Taste selbst zu schreiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/273085/c-tastendruck</link><generator>RSS for Node</generator><lastBuildDate>Fri, 28 Aug 2026 11:36:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/273085.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Aug 2010 04:01:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C++ Tastendruck on Tue, 31 Aug 2010 04:01:10 GMT]]></title><description><![CDATA[<p>Hallo, ich hab einen Programm erstellt, das z.b. die Taste K drueckt.<br />
Jetzt kostet das viel Zeit, das K zu schreiben.<br />
Kann so was wie ein Signal ausloesen, dass die Taste gedrueckt wurde, ohne die Taste selbst zu schreiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1946347</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1946347</guid><dc:creator><![CDATA[Bir44]]></dc:creator><pubDate>Tue, 31 Aug 2010 04:01:10 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Tastendruck on Tue, 31 Aug 2010 04:07:12 GMT]]></title><description><![CDATA[<p>Zeig mal, wie du die Taste &quot;drückst&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1946350</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1946350</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 31 Aug 2010 04:07:12 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Tastendruck on Tue, 31 Aug 2010 04:22:38 GMT]]></title><description><![CDATA[<pre><code>GenerateKey('I', FALSE);

void GenerateKey(int vk, BOOL bExtended) {

    KEYBDINPUT  kb = {0};
    INPUT       Input = {0};

    /* Generate a &quot;key down&quot; */
    if (bExtended) { kb.dwFlags  = KEYEVENTF_EXTENDEDKEY; }
    kb.wVk  = vk;
    Input.type  = INPUT_KEYBOARD;
    Input.ki  = kb;
    SendInput(1, &amp;Input, sizeof(Input));

    /* Generate a &quot;key up&quot; */
    ZeroMemory(&amp;kb, sizeof(KEYBDINPUT));
    ZeroMemory(&amp;Input, sizeof(INPUT));
    kb.dwFlags  =  KEYEVENTF_KEYUP;
    if (bExtended) { kb.dwFlags |= KEYEVENTF_EXTENDEDKEY; }
    kb.wVk = vk;
    Input.type = INPUT_KEYBOARD;
    Input.ki = kb;
    SendInput(1, &amp;Input, sizeof(Input));

    return;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1946352</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1946352</guid><dc:creator><![CDATA[Bir44]]></dc:creator><pubDate>Tue, 31 Aug 2010 04:22:38 GMT</pubDate></item></channel></rss>