<?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[Ausgabe in static-Feld nur für eine kurze Zeit]]></title><description><![CDATA[<p>ich möchte, wenn jemand in ein edit-Feld klickt um etwas einzugeben eine Info anzeigen - was z.B einzugeben ist. Diese Info wird in ein staticfeld ausgegeben - soll aber nur für kutze zeit sein.<br />
ich habe folgendes probiert:</p>
<pre><code class="language-cpp">void CControlDlg::OnEnSetfocusa()
{
	SetDlgItemText(IDC_info,&quot;Insert value for a&quot;);
	Sleep(5000);
	SetDlgItemText(IDC_info,&quot;&quot;);
}
</code></pre>
<p>... mit dem sleep halte ich aber den ganzen prozess an. Ne lösung wäre vielleicht nen Work-Thread - aber muss es so kompliziert sein???? Gibts ne andere Alternative???</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/79833/ausgabe-in-static-feld-nur-für-eine-kurze-zeit</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 15:25:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/79833.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jul 2004 19:54:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ausgabe in static-Feld nur für eine kurze Zeit on Wed, 14 Jul 2004 19:54:56 GMT]]></title><description><![CDATA[<p>ich möchte, wenn jemand in ein edit-Feld klickt um etwas einzugeben eine Info anzeigen - was z.B einzugeben ist. Diese Info wird in ein staticfeld ausgegeben - soll aber nur für kutze zeit sein.<br />
ich habe folgendes probiert:</p>
<pre><code class="language-cpp">void CControlDlg::OnEnSetfocusa()
{
	SetDlgItemText(IDC_info,&quot;Insert value for a&quot;);
	Sleep(5000);
	SetDlgItemText(IDC_info,&quot;&quot;);
}
</code></pre>
<p>... mit dem sleep halte ich aber den ganzen prozess an. Ne lösung wäre vielleicht nen Work-Thread - aber muss es so kompliziert sein???? Gibts ne andere Alternative???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/560874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/560874</guid><dc:creator><![CDATA[pinorrix]]></dc:creator><pubDate>Wed, 14 Jul 2004 19:54:56 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe in static-Feld nur für eine kurze Zeit on Wed, 14 Jul 2004 20:27:52 GMT]]></title><description><![CDATA[<p>Ist zwar nicht das beste, aber du könntest dir einen Timer basteln !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/560900</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/560900</guid><dc:creator><![CDATA[__NoName__]]></dc:creator><pubDate>Wed, 14 Jul 2004 20:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe in static-Feld nur für eine kurze Zeit on Thu, 15 Jul 2004 12:48:15 GMT]]></title><description><![CDATA[<p>Genau!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561327</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561327</guid><dc:creator><![CDATA[a]]></dc:creator><pubDate>Thu, 15 Jul 2004 12:48:15 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe in static-Feld nur für eine kurze Zeit on Thu, 15 Jul 2004 13:01:16 GMT]]></title><description><![CDATA[<p>Genau, guck dir SetTimer und KillTimer an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561343</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 15 Jul 2004 13:01:16 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe in static-Feld nur für eine kurze Zeit on Thu, 15 Jul 2004 13:05:55 GMT]]></title><description><![CDATA[<p>Falls du noch nie mit Timern gearbeitet hast :</p>
<p><a href="http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm" rel="nofollow">http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm</a></p>
<p>Schau dir Tag 4 an !<br />
Super Tutorial <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Gruß<br />
:: NoName ::</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561351</guid><dc:creator><![CDATA[__NoName__]]></dc:creator><pubDate>Thu, 15 Jul 2004 13:05:55 GMT</pubDate></item><item><title><![CDATA[Reply to Ausgabe in static-Feld nur für eine kurze Zeit on Thu, 15 Jul 2004 13:38:48 GMT]]></title><description><![CDATA[<p>hi, danke - funzt jetzt <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 />
hat ne weile gebraucht - bis ich begriffen und gefunden habe wo man bei .NET 2002 nen eventhandler für WM_TIMER hinzufügt. grrr Wo ist der schöne Klassenassi wie bei Visual 6 hin <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> Also, wenn man das selbst schreibt muss nen ON_WM_TIMER() in die Message Map rein.... dann brauch man nit suchen wo man was mit dem assi hinzufügt....</p>
<p>danke nochmal</p>
<p>pinorrix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/561394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/561394</guid><dc:creator><![CDATA[pinorrix]]></dc:creator><pubDate>Thu, 15 Jul 2004 13:38:48 GMT</pubDate></item></channel></rss>