<?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[Tastenkombi an ein Fenster senden]]></title><description><![CDATA[<p>Ich muss eine Tastenkombi (Alt+N) an eine andere Anwendung senden.<br />
Mit SendMessage kann ich ja offenbar immer nur eine Taste simulieren.<br />
Wie sende ich aber dann die tastenkombination??</p>
<p>Danke für eure Hilfe.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/149664/tastenkombi-an-ein-fenster-senden</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 17:29:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/149664.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Jun 2006 09:13:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tastenkombi an ein Fenster senden on Thu, 08 Jun 2006 09:13:06 GMT]]></title><description><![CDATA[<p>Ich muss eine Tastenkombi (Alt+N) an eine andere Anwendung senden.<br />
Mit SendMessage kann ich ja offenbar immer nur eine Taste simulieren.<br />
Wie sende ich aber dann die tastenkombination??</p>
<p>Danke für eure Hilfe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1073687</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073687</guid><dc:creator><![CDATA[John.]]></dc:creator><pubDate>Thu, 08 Jun 2006 09:13:06 GMT</pubDate></item><item><title><![CDATA[Reply to Tastenkombi an ein Fenster senden on Thu, 08 Jun 2006 11:55:46 GMT]]></title><description><![CDATA[<p>Hab ma' kurz nachgeguckt (MSDN, WM_KEYDOWN) <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /> im LPARAM im bit 29 scheint vermerkt, ob ALT gedrückt wurde während dem die Message generiert wurde.<br />
Hier ein Ansatz (ist sicher alles in irgendwelchen konstanten definiert, bin aber zu faul ums nachzuschauen :P):</p>
<pre><code class="language-cpp">SendMessage(hWnd,WM_KEYDOWN,keyCodeFuerN,536870912); //536870912 = 29. bit gesetzt
</code></pre>
<p>Sollte so gehen, ausprobiert hab' ichs nicht <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/1073799</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1073799</guid><dc:creator><![CDATA[das_brot]]></dc:creator><pubDate>Thu, 08 Jun 2006 11:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to Tastenkombi an ein Fenster senden on Sat, 10 Jun 2006 19:37:23 GMT]]></title><description><![CDATA[<p>Für eine &quot;richtige&quot; Lösung siehe:<br />
<a href="http://blogs.msdn.com/michkap/archive/2006/06/10/625285.aspx" rel="nofollow">http://blogs.msdn.com/michkap/archive/2006/06/10/625285.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1075291</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1075291</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sat, 10 Jun 2006 19:37:23 GMT</pubDate></item></channel></rss>