<?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[Mehrere Hotkeys]]></title><description><![CDATA[<p>So..</p>
<pre><code class="language-cpp">void __fastcall TForm1::WMHotKey(TMessage &amp;Msg)
{
    TForm::Dispatch(&amp;Msg);

    Application-&gt;Terminate();
}
</code></pre>
<p>also man hat ja hier den event vom hotkey, nur wie sortiere ich jetzt hotkeys nach den gegebenen werten ?</p>
<p>also z.B.</p>
<pre><code class="language-cpp">void __fastcall TForm1::FormCreate(TObject *Sender)
{
HotKeyIdentifier_uint = GlobalAddAtom(&quot;ESC-Hotkey&quot;);
HotKeyModifier_uint = 0;
RegisterHotKey(Handle, HotKeyIdentifier_uint, HotKeyModifier_uint, VK_ESCAPE); //Hotkey registrieren.
}
</code></pre>
<p>wenn ich hier jetzt mehrere hotkeys hätte alle mit nem anderem modifier, wie würde man jetzt herausfinden welcher gedrückt wurde?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/207105/mehrere-hotkeys</link><generator>RSS for Node</generator><lastBuildDate>Thu, 20 Aug 2026 03:38:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/207105.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Mar 2008 20:28:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mehrere Hotkeys on Mon, 03 Mar 2008 20:28:07 GMT]]></title><description><![CDATA[<p>So..</p>
<pre><code class="language-cpp">void __fastcall TForm1::WMHotKey(TMessage &amp;Msg)
{
    TForm::Dispatch(&amp;Msg);

    Application-&gt;Terminate();
}
</code></pre>
<p>also man hat ja hier den event vom hotkey, nur wie sortiere ich jetzt hotkeys nach den gegebenen werten ?</p>
<p>also z.B.</p>
<pre><code class="language-cpp">void __fastcall TForm1::FormCreate(TObject *Sender)
{
HotKeyIdentifier_uint = GlobalAddAtom(&quot;ESC-Hotkey&quot;);
HotKeyModifier_uint = 0;
RegisterHotKey(Handle, HotKeyIdentifier_uint, HotKeyModifier_uint, VK_ESCAPE); //Hotkey registrieren.
}
</code></pre>
<p>wenn ich hier jetzt mehrere hotkeys hätte alle mit nem anderem modifier, wie würde man jetzt herausfinden welcher gedrückt wurde?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1467577</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1467577</guid><dc:creator><![CDATA[Schurke]]></dc:creator><pubDate>Mon, 03 Mar 2008 20:28:07 GMT</pubDate></item><item><title><![CDATA[Reply to Mehrere Hotkeys on Tue, 04 Mar 2008 08:23:38 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">if(Msg.WParam == HotKeyIdentifier_uint)
{
 //////
}
</code></pre>
<p>greetz KN4CK3R</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1467724</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1467724</guid><dc:creator><![CDATA[KN4CK3R]]></dc:creator><pubDate>Tue, 04 Mar 2008 08:23:38 GMT</pubDate></item></channel></rss>