<?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[Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden]]></title><description><![CDATA[<p>Hallo Leute!</p>
<p>Ich möchte herausfinden ob mein Mauszeiger gerade eine Sanduhr zeigt.</p>
<p>Brauche das, damit ich meinem Programm sagen kann: Wenn der PC lädt, dann mach kurz nicht weiter.</p>
<p>gibt es da sowas wie</p>
<p>getCursor();</p>
<p>oder sowas?</p>
<p>MfG<br />
WARFIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/236638/aktuelles-cursor-quot-bild-quot-herausfinden</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 18:40:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/236638.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Mar 2009 22:34:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden on Tue, 17 Mar 2009 22:34:52 GMT]]></title><description><![CDATA[<p>Hallo Leute!</p>
<p>Ich möchte herausfinden ob mein Mauszeiger gerade eine Sanduhr zeigt.</p>
<p>Brauche das, damit ich meinem Programm sagen kann: Wenn der PC lädt, dann mach kurz nicht weiter.</p>
<p>gibt es da sowas wie</p>
<p>getCursor();</p>
<p>oder sowas?</p>
<p>MfG<br />
WARFIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1681857</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1681857</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Tue, 17 Mar 2009 22:34:52 GMT</pubDate></item><item><title><![CDATA[Reply to Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden on Tue, 17 Mar 2009 23:07:33 GMT]]></title><description><![CDATA[<p>Wäre es da nicht besser, abhängig von der CPU-Auslastung eine Pause einzulegen? Ich weiß ja nicht genau, wie dein Fall konkret aussieht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1681864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1681864</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Tue, 17 Mar 2009 23:07:33 GMT</pubDate></item><item><title><![CDATA[Reply to Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden on Tue, 17 Mar 2009 23:57:04 GMT]]></title><description><![CDATA[<p>Das Problem war, das ich auf das andere Programm warten musste.</p>
<p>Habs auch schon gelöst:</p>
<p>Die Funktion holt sich den aktuellen mauszeiger und wartet solange bis dieser sich ändert.</p>
<pre><code class="language-cpp">void functions::wait_cursor_change()
{
                HCURSOR hcursor_temp;
                HCURSOR hcursor;

                CURSORINFO cursorinfo_temp;
                CURSORINFO cursorinfo;

                hcursor_temp=GetCursor();
                cursorinfo_temp.hCursor=hcursor_temp;
                cursorinfo_temp.cbSize=sizeof(CURSORINFO);
                GetCursorInfo(&amp;cursorinfo_temp);

            //std::cout &lt;&lt; &quot;1. &quot; &lt;&lt; cursorinfo_temp.hCursor &lt;&lt; &quot;    &quot;;
            do{
                hcursor=GetCursor();
                cursorinfo.hCursor=hcursor;
                cursorinfo.cbSize=sizeof(CURSORINFO);
                GetCursorInfo(&amp;cursorinfo);
            }while(cursorinfo_temp.hCursor == cursorinfo.hCursor);
            //std::cout &lt;&lt; &quot;2. &quot; &lt;&lt;cursorinfo.hCursor &lt;&lt; &quot;\n&quot;;
}
</code></pre>
<p>MfG<br />
WARFIRE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1681873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1681873</guid><dc:creator><![CDATA[WAR**FIRE]]></dc:creator><pubDate>Tue, 17 Mar 2009 23:57:04 GMT</pubDate></item><item><title><![CDATA[Reply to Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden on Wed, 18 Mar 2009 06:08:36 GMT]]></title><description><![CDATA[<p>Und kann nicht auch ein anderes Programm den Cursor ändern?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1681893</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1681893</guid><dc:creator><![CDATA[_matze]]></dc:creator><pubDate>Wed, 18 Mar 2009 06:08:36 GMT</pubDate></item><item><title><![CDATA[Reply to Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden on Wed, 18 Mar 2009 06:48:44 GMT]]></title><description><![CDATA[<p>Hi,<br />
auf Threads und Processe wartet man für gewöhnlich mit einer der Wait-Funktionen wie z.B. WaitForSingleObject.<br />
MfG,<br />
t/p.p.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1681904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1681904</guid><dc:creator><![CDATA[thread&#x2F;process n00b]]></dc:creator><pubDate>Wed, 18 Mar 2009 06:48:44 GMT</pubDate></item><item><title><![CDATA[Reply to Aktuelles Cursor &amp;quot;Bild&amp;quot; herausfinden on Wed, 18 Mar 2009 07:03:27 GMT]]></title><description><![CDATA[<p>@WAR][FIRE: Dafür belastest Du nun das System mit 100% Prozessor Last?</p>
<p>Die aktuelle Last des Computers, kannst Du weitaus besser mit anderen Funktionen ermitteln, vor allem weitaus dteailierter, denn was sagt schon die Sanduhr?</p>
<p>z.B.: GetSystemTimes/GetProcessTimes</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1681905</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1681905</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 18 Mar 2009 07:03:27 GMT</pubDate></item></channel></rss>