<?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[globaler hotkey]]></title><description><![CDATA[<p>noch ein versuch:</p>
<p>ich brauche einen hotkey, den mann überall in windows betätigen kann. ich habs versucht mit</p>
<pre><code>if(!RegisterHotKey(this-&gt;m_hWnd, IDI_HOTKEY, MOD_CONTROL, 82))
	{
		AfxMessageBox(&quot;Fehler beim Registrieren&quot;);
	}
	else
	{
		AfxMessageBox(&quot;Registration erfolgreich&quot;);
	};
</code></pre>
<p>und fang das dann so</p>
<pre><code>ON_MESSAGE(WM_HOTKEY, OnHotKey)
</code></pre>
<p>ab.</p>
<p>geht aber nicht. registrieren tut er fehlerlos. sogar strg+a?!</p>
<p>was mach ich???</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80360/globaler-hotkey</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 04:34:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80360.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jul 2004 13:43:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to globaler hotkey on Tue, 20 Jul 2004 13:43:51 GMT]]></title><description><![CDATA[<p>noch ein versuch:</p>
<p>ich brauche einen hotkey, den mann überall in windows betätigen kann. ich habs versucht mit</p>
<pre><code>if(!RegisterHotKey(this-&gt;m_hWnd, IDI_HOTKEY, MOD_CONTROL, 82))
	{
		AfxMessageBox(&quot;Fehler beim Registrieren&quot;);
	}
	else
	{
		AfxMessageBox(&quot;Registration erfolgreich&quot;);
	};
</code></pre>
<p>und fang das dann so</p>
<pre><code>ON_MESSAGE(WM_HOTKEY, OnHotKey)
</code></pre>
<p>ab.</p>
<p>geht aber nicht. registrieren tut er fehlerlos. sogar strg+a?!</p>
<p>was mach ich???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/564485</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/564485</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Tue, 20 Jul 2004 13:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to globaler hotkey on Tue, 20 Jul 2004 14:56:56 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">RegisterHotKey(this-&gt;m_hWnd, IDI_HOTKEY, MOD_CONTROL, 82)
</code></pre>
<p>^^ das du nen hotkey auf ctrl+r nicht auf ctrl+a setzt ist dir aber klar, oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/564551</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/564551</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Tue, 20 Jul 2004 14:56:56 GMT</pubDate></item><item><title><![CDATA[Reply to globaler hotkey on Tue, 20 Jul 2004 18:23:32 GMT]]></title><description><![CDATA[<p>ja, ich hab schon fast alle durchprobiert. strg+a hab ich nur erwähnt, weil ichs komisch fand, dass er da beim registrieren keinen fehler gibt. kann man windows-keys überschreiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/564667</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/564667</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Tue, 20 Jul 2004 18:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to globaler hotkey on Tue, 20 Jul 2004 23:11:17 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Using_CHotKeyCtrl.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_Using_CHotKeyCtrl.asp</a><br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_CHotKeyCtrl.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_CHotKeyCtrl.asp</a><br />
<a href="http://www.codeproject.com/w2k/AntonioWinLock.asp" rel="nofollow">http://www.codeproject.com/w2k/AntonioWinLock.asp</a> (allgemein)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/564818</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/564818</guid><dc:creator><![CDATA[Erhard Henkes]]></dc:creator><pubDate>Tue, 20 Jul 2004 23:11:17 GMT</pubDate></item><item><title><![CDATA[Reply to globaler hotkey on Wed, 21 Jul 2004 07:39:11 GMT]]></title><description><![CDATA[<p>danke, hat aber nix gebracht. ich brauch auch keine chotkeycontrol. was aber interessant ist, wenn ich meinen hotkey registriert habe, kann ich in der conrol den selbe hotkey nicht nochmal auswählen. das heißt die registrierung hat garantiert geklappt. nur er ruft das onhotkey net auf. entweder bekommt er keine message oder er verarbeitet sie net. ich hab einige tutorials, die sind eigentlich gleich wie mein code. ich weiß echt net weiter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/564918</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/564918</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Wed, 21 Jul 2004 07:39:11 GMT</pubDate></item><item><title><![CDATA[Reply to globaler hotkey on Wed, 21 Jul 2004 08:42:50 GMT]]></title><description><![CDATA[<p>aaaaaaaah<br />
problem gelöst</p>
<p>ich hab das registerhotkey im konstruktor aufgerufen, und da gibts noch kein gültiges hwnd...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/564964</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/564964</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Wed, 21 Jul 2004 08:42:50 GMT</pubDate></item></channel></rss>