<?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[UpdateData(FALSE) in Schleifen?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich nochmal...</p>
<p>wie kriege ich das hin, das UpdateData(false) in Schleifen bei jedem Durchlauf mein dialogfenster aktualisiert? Er macht das bei mir nämlich nur, nachdem er die Schleife fertig durchlaufen hat...</p>
<pre><code>for (int i=0; i&lt;10; i++)
{
			m_TextUpdate += &quot;blablubb \r\n&quot;;
			UpdateData(FALSE);
			Sleep(100);
}
</code></pre>
<p>Das soll mir also aller 0,5s einmal Text ausgeben, es gibt aber nach 5s 10 mal Text auf einmal aus...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/182192/updatedata-false-in-schleifen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 16:26:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/182192.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 May 2007 12:23:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UpdateData(FALSE) in Schleifen? on Tue, 22 May 2007 12:23:45 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich nochmal...</p>
<p>wie kriege ich das hin, das UpdateData(false) in Schleifen bei jedem Durchlauf mein dialogfenster aktualisiert? Er macht das bei mir nämlich nur, nachdem er die Schleife fertig durchlaufen hat...</p>
<pre><code>for (int i=0; i&lt;10; i++)
{
			m_TextUpdate += &quot;blablubb \r\n&quot;;
			UpdateData(FALSE);
			Sleep(100);
}
</code></pre>
<p>Das soll mir also aller 0,5s einmal Text ausgeben, es gibt aber nach 5s 10 mal Text auf einmal aus...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1289861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1289861</guid><dc:creator><![CDATA[Querdenker]]></dc:creator><pubDate>Tue, 22 May 2007 12:23:45 GMT</pubDate></item><item><title><![CDATA[Reply to UpdateData(FALSE) in Schleifen? on Tue, 22 May 2007 12:38:13 GMT]]></title><description><![CDATA[<p>Dein Code soll zwar eine Aktualisierung bewirken, das Neuzeichnen geht aber erst, wenn Du die Schleife verlassen hast. Dann kann auch OnDraw aufgerufen werden.<br />
Außerdem: woher kann man an Deinem Code erkennen, dass die Textanzeige alle 0,5 s erfolgt? Das ist unter Windows generell ein Problem....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1289885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1289885</guid><dc:creator><![CDATA[AndyDD]]></dc:creator><pubDate>Tue, 22 May 2007 12:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to UpdateData(FALSE) in Schleifen? on Tue, 22 May 2007 12:39:23 GMT]]></title><description><![CDATA[<p>Die anderen Nachrichten die zum Verarbeiten deiner Textausgabe und alles was da dran hängt verantwortlich sind, werden innerhalb der Schleife nicht verarbeitet. Du musst dir irgendwas dazwischen basteln, das den Message Queue abarbeitet. Guck dir mal PeekMessage und PumpMessage an</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1289887</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1289887</guid><dc:creator><![CDATA[Cpp_Junky]]></dc:creator><pubDate>Tue, 22 May 2007 12:39:23 GMT</pubDate></item><item><title><![CDATA[Reply to UpdateData(FALSE) in Schleifen? on Tue, 22 May 2007 12:43:36 GMT]]></title><description><![CDATA[<p>Ich glaube, dazu steht sogar was in den FAQ:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39085.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39085.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1289891</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1289891</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Tue, 22 May 2007 12:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to UpdateData(FALSE) in Schleifen? on Tue, 22 May 2007 13:40:37 GMT]]></title><description><![CDATA[<p>isabeau schrieb:</p>
<blockquote>
<p>Ich glaube, dazu steht sogar was in den FAQ:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39085.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39085.html</a></p>
</blockquote>
<p>Danke für den Link, probier ich mal aus!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1289947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1289947</guid><dc:creator><![CDATA[Querdenker]]></dc:creator><pubDate>Tue, 22 May 2007 13:40:37 GMT</pubDate></item></channel></rss>