<?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[Kleine Frage zu Mausklick-Events]]></title><description><![CDATA[<p>Hi Leute,<br />
hab da ne kleine Frage. Wie kann man ein MouseEvent außerhalb der switch-Abfrage abfragen ? Hab bisher schon alles ausprobiert, von if(LBUTTONDOWN) bishin zu if(ONLBUTTONDOWN) usw. ...<br />
Wäre dankbar für eine Antwort.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/207793/kleine-frage-zu-mausklick-events</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 15:01:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/207793.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 11 Mar 2008 19:54:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Tue, 11 Mar 2008 19:54:54 GMT]]></title><description><![CDATA[<p>Hi Leute,<br />
hab da ne kleine Frage. Wie kann man ein MouseEvent außerhalb der switch-Abfrage abfragen ? Hab bisher schon alles ausprobiert, von if(LBUTTONDOWN) bishin zu if(ONLBUTTONDOWN) usw. ...<br />
Wäre dankbar für eine Antwort.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472361</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472361</guid><dc:creator><![CDATA[pivke]]></dc:creator><pubDate>Tue, 11 Mar 2008 19:54:54 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Tue, 11 Mar 2008 20:10:48 GMT]]></title><description><![CDATA[<p>Wie weit außerhalb ? Meinst Du sowas :</p>
<pre><code class="language-cpp">LRESULT CALLBACK WndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
{

 if (uMsg == WM_LBUTTONDOWN) {
 // mach was
 }

 switch (uMsg) {

 (...)

 }

(...)

}
</code></pre>
<p>Geht aber nur innerhalb der &quot;WndProc&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472371</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472371</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Tue, 11 Mar 2008 20:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Tue, 11 Mar 2008 20:19:15 GMT]]></title><description><![CDATA[<p>Mhm, ist schon nicht schlecht so, aber besser/genial wäre es, wenn man den befehl komplett außerhalb die keys[VK_LEFT] abrufen könnte. Ein guter Sucher bin ich nicht, aber in der MSDN hab ih auch nichts gefunden <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/1472377</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472377</guid><dc:creator><![CDATA[pivke]]></dc:creator><pubDate>Tue, 11 Mar 2008 20:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Tue, 11 Mar 2008 23:07:24 GMT]]></title><description><![CDATA[<p>GetAsyncKeyState</p>
<p><a href="http://msdn2.microsoft.com/en-us/library/ms646293.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms646293.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472471</guid><dc:creator><![CDATA[DaRpH]]></dc:creator><pubDate>Tue, 11 Mar 2008 23:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Wed, 12 Mar 2008 07:37:50 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/16311">@pivke</a>: Was beabsichtigst Du damit?</p>
<p>Windows ist Ereignisgesteuert und Du solltest Dich daran halten. Was Du machst ist pollen und nachsehen ob was gedrückt ist., das macht nur im Kontext anderer Nachrichten Sinn.</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/2183">@DaRpH</a>: In vielen Fällen ist GetAsnchKeyState njicht das was man will. Man sollte immer wenn möglich den Nachrichten Kontext wählen mit GeyKeyState!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472541</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472541</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 12 Mar 2008 07:37:50 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Wed, 12 Mar 2008 11:19:21 GMT]]></title><description><![CDATA[<p>Damit hier sich nicht ein Missverständniss einschleicht,....<br />
Mein Problem ist, das ich einen einfachen float-Wert in der switch-case abändern möchte. Welchen ich aber wieder in einer anderen Schleife benutzen möchte.<br />
Frage ist mir schon fast zu peinlich, um sie hier zu posten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472696</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472696</guid><dc:creator><![CDATA[pivke]]></dc:creator><pubDate>Wed, 12 Mar 2008 11:19:21 GMT</pubDate></item><item><title><![CDATA[Reply to Kleine Frage zu Mausklick-Events on Wed, 12 Mar 2008 13:39:25 GMT]]></title><description><![CDATA[<p>pivke schrieb:</p>
<blockquote>
<p>Mein Problem ist, das ich einen einfachen float-Wert in der switch-case abändern möchte. Welchen ich aber wieder in einer anderen Schleife benutzen möchte.</p>
</blockquote>
<p>wie wärs mit ner globale variable? und nein, sie sind nicht böse. zumindest nicht in C. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
OOPiger: membervariable.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1472855</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1472855</guid><dc:creator><![CDATA[Xantus]]></dc:creator><pubDate>Wed, 12 Mar 2008 13:39:25 GMT</pubDate></item></channel></rss>