<?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[Mit keybd_event Zahlen senden]]></title><description><![CDATA[<p>Guten Tag,<br />
ich hab zwar herrausgefunden wie man mit Hilfe von keybd_event zum beispiel<br />
RETURN oder Buchstaben simuliert aber wie kann man das mit zahlen machen?<br />
Für &quot;A&quot; kann man ja einfach:</p>
<p>keybd_event(65, 0, 0, 0);</p>
<p>nehmen aber wie ist das denn wenn ich zum beipiel die Zahl 5 haben will?</p>
<p>MFG Dalmendio</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/135533/mit-keybd_event-zahlen-senden</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 00:19:22 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/135533.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Feb 2006 18:38:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mit keybd_event Zahlen senden on Thu, 02 Feb 2006 18:38:13 GMT]]></title><description><![CDATA[<p>Guten Tag,<br />
ich hab zwar herrausgefunden wie man mit Hilfe von keybd_event zum beispiel<br />
RETURN oder Buchstaben simuliert aber wie kann man das mit zahlen machen?<br />
Für &quot;A&quot; kann man ja einfach:</p>
<p>keybd_event(65, 0, 0, 0);</p>
<p>nehmen aber wie ist das denn wenn ich zum beipiel die Zahl 5 haben will?</p>
<p>MFG Dalmendio</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984303</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984303</guid><dc:creator><![CDATA[Dalmendio]]></dc:creator><pubDate>Thu, 02 Feb 2006 18:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to Mit keybd_event Zahlen senden on Thu, 02 Feb 2006 18:41:09 GMT]]></title><description><![CDATA[<p>48</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984308</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984308</guid><dc:creator><![CDATA[looool]]></dc:creator><pubDate>Thu, 02 Feb 2006 18:41:09 GMT</pubDate></item><item><title><![CDATA[Reply to Mit keybd_event Zahlen senden on Thu, 02 Feb 2006 18:41:51 GMT]]></title><description><![CDATA[<p>- 57</p>
]]></description><link>https://www.c-plusplus.net/forum/post/984309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984309</guid><dc:creator><![CDATA[looool]]></dc:creator><pubDate>Thu, 02 Feb 2006 18:41:51 GMT</pubDate></item><item><title><![CDATA[Reply to Mit keybd_event Zahlen senden on Thu, 02 Feb 2006 19:33:21 GMT]]></title><description><![CDATA[<p>Heute sollte man SendInput verwenden...</p>
<pre><code class="language-cpp">INPUT pInput[2];
  pInput[0].type           = INPUT_KEYBOARD;
  pInput[0].ki.wVk         = '2';
  pInput[0].ki.wScan       = 0;
  pInput[0].ki.dwFlags     = 0; // Nill for keydown
  pInput[0].ki.time        = 0;
  pInput[0].ki.dwExtraInfo = 0;

  pInput[1].type           = INPUT_KEYBOARD;
  pInput[1].ki.wVk         = '2';
  pInput[1].ki.wScan       = 0;
  pInput[1].ki.dwFlags     = KEYEVENTF_KEYUP;
  pInput[1].ki.time        = 0;
  pInput[1].ki.dwExtraInfo = 0;

  if (SendInput(2, pInput, sizeof(INPUT)) == 0)
  {
    return false;
  }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/984385</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/984385</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 02 Feb 2006 19:33:21 GMT</pubDate></item></channel></rss>