<?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[Eieruhr bei Datenbankabfrage]]></title><description><![CDATA[<p>In meinem ATL/WTL Projekt (immernoch ^^) habe ich viele DB-Abfragen und Zeichenroutinen. Wie bekomme ich es hin, dass der Mauszeiger zu einer Eieruhr wird, wenn das Programm beschäfitgt ist? Muss ich dazu die Win-API nutzen oder bietet ATL/WTL dafür etwas an oder brauche ich sogar nen Thread oder Timer dazu?</p>
<p>Hab die Treffer schon im Forum hier gelesen, aber das waren meist MFC Lösungen.</p>
<p>Vielen Dank! <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="🙂"
    /></p>
<p>plizer</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/191852/eieruhr-bei-datenbankabfrage</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 04:38:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/191852.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Sep 2007 09:59:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eieruhr bei Datenbankabfrage on Fri, 07 Sep 2007 09:59:05 GMT]]></title><description><![CDATA[<p>In meinem ATL/WTL Projekt (immernoch ^^) habe ich viele DB-Abfragen und Zeichenroutinen. Wie bekomme ich es hin, dass der Mauszeiger zu einer Eieruhr wird, wenn das Programm beschäfitgt ist? Muss ich dazu die Win-API nutzen oder bietet ATL/WTL dafür etwas an oder brauche ich sogar nen Thread oder Timer dazu?</p>
<p>Hab die Treffer schon im Forum hier gelesen, aber das waren meist MFC Lösungen.</p>
<p>Vielen Dank! <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="🙂"
    /></p>
<p>plizer</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360675</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360675</guid><dc:creator><![CDATA[plizer]]></dc:creator><pubDate>Fri, 07 Sep 2007 09:59:05 GMT</pubDate></item><item><title><![CDATA[Reply to Eieruhr bei Datenbankabfrage on Fri, 07 Sep 2007 10:09:22 GMT]]></title><description><![CDATA[<p>Setz den Cursor vor den Abfragen doch einfach auf den Standardcursor für Warten (LoadCursor bzw SetCursor) und hinterher wieder zurück auf den Pfeil.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1360680</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360680</guid><dc:creator><![CDATA[Cpp_Junky]]></dc:creator><pubDate>Fri, 07 Sep 2007 10:09:22 GMT</pubDate></item><item><title><![CDATA[Reply to Eieruhr bei Datenbankabfrage on Fri, 07 Sep 2007 10:20:07 GMT]]></title><description><![CDATA[<p>Cpp_Junky schrieb:</p>
<blockquote>
<p>Setz den Cursor vor den Abfragen doch einfach auf den Standardcursor für Warten (LoadCursor bzw SetCursor) und hinterher wieder zurück auf den Pfeil.</p>
</blockquote>
<p>Super! <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="🙂"
    /></p>
<p>Ging ja echt ganz einfach!</p>
<p>Quelltext:</p>
<pre><code class="language-cpp">SetCursor(LoadCursor(NULL, IDC_WAIT)); // Sanduhr
billigeMethodeMitBerechnungen();
SetCursor(LoadCursor(NULL, IDC_ARROW));  // Pfeil
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1360687</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360687</guid><dc:creator><![CDATA[plizer]]></dc:creator><pubDate>Fri, 07 Sep 2007 10:20:07 GMT</pubDate></item><item><title><![CDATA[Reply to Eieruhr bei Datenbankabfrage on Fri, 07 Sep 2007 10:20:34 GMT]]></title><description><![CDATA[<p>CWaitCursor Klasse macht das nett und ohne Probleme.<br />
<a href="http://msdn2.microsoft.com/en-us/library/wc7bzytb(VS.80).aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/wc7bzytb(VS.80).aspx</a></p>
<pre><code class="language-cpp">BOOL CMyWnd::SomeLengthyProcess()
{
   CWaitCursor wait;
   //Do the lengthProcessing.

   MessageBox(&quot;Some result&quot;);      //This changes the cursor.
   wait.Restore();         //Restore the Wait cursor.
   //Continue Processing.

   //The destructor changes the cursor back to Regular cursor.
   return TRUE;         

}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1360689</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1360689</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 07 Sep 2007 10:20:34 GMT</pubDate></item></channel></rss>