<?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[Wie Tastendruck an Fenster ohne Eingabefokus schicken?]]></title><description><![CDATA[<p>Hi</p>
<p>Ich würde gerne einen Tastendruck an ein Fenster schicken welche nicht den Eingabefokus hat.<br />
Hab schon SendMessage mit WM_KEYDOWN &amp; WM_KEYUP versucht aber das hat nicht funktioniert.<br />
Einer eine Idee?</p>
<p>Danke schon mal<br />
voiper</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162332/wie-tastendruck-an-fenster-ohne-eingabefokus-schicken</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 21:53:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162332.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Oct 2006 17:03:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Tue, 17 Oct 2006 17:03:28 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Ich würde gerne einen Tastendruck an ein Fenster schicken welche nicht den Eingabefokus hat.<br />
Hab schon SendMessage mit WM_KEYDOWN &amp; WM_KEYUP versucht aber das hat nicht funktioniert.<br />
Einer eine Idee?</p>
<p>Danke schon mal<br />
voiper</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156474</guid><dc:creator><![CDATA[voiper]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:03:28 GMT</pubDate></item><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Tue, 17 Oct 2006 17:31:16 GMT]]></title><description><![CDATA[<p>SendMessage ist aber die übliche Methode. Warum funktioniert das nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156496</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156496</guid><dc:creator><![CDATA[Christian411]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:31:16 GMT</pubDate></item><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Tue, 17 Oct 2006 17:39:36 GMT]]></title><description><![CDATA[<p>Das frag ich mich auch schon die ganze Zeit.</p>
<pre><code class="language-cpp">HANDLE hWnd;
 hWnd=FindWindowEx(NULL, NULL, &quot;Notepad&quot;, NULL);
 SendMessage(hWnd, WM_KEYDOWN, VK_RETURN,0);
 SendMessage(hWnd, WM_KEYUP, VK_RETURN,0);
</code></pre>
<p>Eigentlich kann es ja auch nicht daran liegen, dass das Fenster zu einem anderen Prozess gehört oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156506</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156506</guid><dc:creator><![CDATA[voiper]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Tue, 17 Oct 2006 17:51:43 GMT]]></title><description><![CDATA[<p>Du bist sicher, dass Notepad unter diesem Namen als Klasse registiert ist?</p>
<p>Hat das Handle überhaupt einen Wert zurückbekommen? (!=NULL)</p>
<p><a href="http://www.marquardtnet.info/cecke/quickies.1/1_quicky_34.html" rel="nofollow">http://www.marquardtnet.info/cecke/quickies.1/1_quicky_34.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156516</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156516</guid><dc:creator><![CDATA[Christian411]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:51:43 GMT</pubDate></item><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Tue, 17 Oct 2006 17:52:36 GMT]]></title><description><![CDATA[<p>Jap kriege ein valides Handle zurück.<br />
Kann damit auch auf das Fenster zugreifen mit z.B. SetForegroundWindow aber SendMessage will einfach nicht funktionieren <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="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156518</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156518</guid><dc:creator><![CDATA[voiper]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Tue, 17 Oct 2006 17:55:54 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=437" rel="nofollow">Jansen</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=2" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1156522</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1156522</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 17 Oct 2006 17:55:54 GMT</pubDate></item><item><title><![CDATA[Reply to Wie Tastendruck an Fenster ohne Eingabefokus schicken? on Thu, 19 Oct 2006 21:51:47 GMT]]></title><description><![CDATA[<p>Notepad koennte evtl aus mehr als nur einem fenster bestehen denke ich mal. ueberpruef das nochmal.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1157994</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1157994</guid><dc:creator><![CDATA[subwindow]]></dc:creator><pubDate>Thu, 19 Oct 2006 21:51:47 GMT</pubDate></item></channel></rss>