<?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[Mausposition in Fenster]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich suche nach einer Möglichkeit die Mauskoordinaten in einem Fenster zu ermitteln. Also nicht wie bei GetCursorPos(), sondern die Position relativ zum Fenster (Ecke oben links im Fenster ist (0,0) etc.)<br />
WM_MOUSEMOVE ist denke ich ungeeignet, da die Events zu &quot;langsam&quot; ankommen. Ich bräuchte eher eine Funktion wie GetCursorPos(), die ich jederzeit abrufen kann.</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/192713/mausposition-in-fenster</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 01:45:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192713.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Sep 2007 19:22:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mausposition in Fenster on Mon, 17 Sep 2007 19:22:42 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich suche nach einer Möglichkeit die Mauskoordinaten in einem Fenster zu ermitteln. Also nicht wie bei GetCursorPos(), sondern die Position relativ zum Fenster (Ecke oben links im Fenster ist (0,0) etc.)<br />
WM_MOUSEMOVE ist denke ich ungeeignet, da die Events zu &quot;langsam&quot; ankommen. Ich bräuchte eher eine Funktion wie GetCursorPos(), die ich jederzeit abrufen kann.</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367284</guid><dc:creator><![CDATA[MightyMoFan]]></dc:creator><pubDate>Mon, 17 Sep 2007 19:22:42 GMT</pubDate></item><item><title><![CDATA[Reply to Mausposition in Fenster on Mon, 17 Sep 2007 19:30:41 GMT]]></title><description><![CDATA[<p>WM_MOUSEMOVE kommt nicht langsam an?</p>
<p>Wenn du unbedingt nen anderen Weg gehen willst: Schau dir mal ScreenToClient() an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367293</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367293</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Mon, 17 Sep 2007 19:30:41 GMT</pubDate></item><item><title><![CDATA[Reply to Mausposition in Fenster on Mon, 17 Sep 2007 19:59:13 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">POINT pCursor;

GetCursorPos(&amp;pCursor);
ScreenToClient(hWnd, &amp;pCursor);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1367307</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367307</guid><dc:creator><![CDATA[Script-Styler]]></dc:creator><pubDate>Mon, 17 Sep 2007 19:59:13 GMT</pubDate></item><item><title><![CDATA[Reply to Mausposition in Fenster on Mon, 17 Sep 2007 20:11:44 GMT]]></title><description><![CDATA[<p>geeky schrieb:</p>
<blockquote>
<p>WM_MOUSEMOVE kommt nicht langsam an?</p>
<p>Wenn du unbedingt nen anderen Weg gehen willst: Schau dir mal ScreenToClient() an.</p>
</blockquote>
<p>Sieht vielleich so aus, weil die Koordinaten seit dem letzten Update mehrere einheiten überspringen je nachdem wie schnell man die Maus bewegt <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f4a1.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--light_bulb"
      title=":bulb:"
      alt="💡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1367315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1367315</guid><dc:creator><![CDATA[Cpp_Junky]]></dc:creator><pubDate>Mon, 17 Sep 2007 20:11:44 GMT</pubDate></item></channel></rss>