<?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[Fortschrittsbalken]]></title><description><![CDATA[<p>hallo, ich möchte in einem nichtmodalen Dialogfenster einen fortschrittsbalken mitlaufen lassen. wenn ich die im dialg deklarierte variable m_progressbar in der klasse aufrufen möchte, kommt eine Fehlermeldung in afxcmn.inl.<br />
auf diese weise:</p>
<pre><code>void CProgressMessages::DisplayProgress(int ende)
{
	BarHandle = new CWnd;
	BarHandle = CWnd::GetActiveWindow();
	BarHandle-&gt;GetDlgItem(IDC_PROGRESS2);
	//BarHandle-&gt;SendMessage(PBM_SETBARCOLOR, 0, CLR_DEFAULT);
	BarHandle-&gt;SendMessage(PBM_SETRANGE32, 0, ende);
	int pos = BarHandle-&gt;SendMessage(PBM_GETRANGE, TRUE, NULL);
	BarHandle-&gt;SendMessage(PBM_SETSTEP, 1, 0);
</code></pre>
<p>kompiliert er zwar fehlerlos, läuft, aber es passiert nichts.<br />
weiss irgendwer, warum?<br />
schonmal vielen Dank,<br />
daniel</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/76241/fortschrittsbalken</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 00:08:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/76241.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jun 2004 08:39:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fortschrittsbalken on Wed, 09 Jun 2004 08:39:21 GMT]]></title><description><![CDATA[<p>hallo, ich möchte in einem nichtmodalen Dialogfenster einen fortschrittsbalken mitlaufen lassen. wenn ich die im dialg deklarierte variable m_progressbar in der klasse aufrufen möchte, kommt eine Fehlermeldung in afxcmn.inl.<br />
auf diese weise:</p>
<pre><code>void CProgressMessages::DisplayProgress(int ende)
{
	BarHandle = new CWnd;
	BarHandle = CWnd::GetActiveWindow();
	BarHandle-&gt;GetDlgItem(IDC_PROGRESS2);
	//BarHandle-&gt;SendMessage(PBM_SETBARCOLOR, 0, CLR_DEFAULT);
	BarHandle-&gt;SendMessage(PBM_SETRANGE32, 0, ende);
	int pos = BarHandle-&gt;SendMessage(PBM_GETRANGE, TRUE, NULL);
	BarHandle-&gt;SendMessage(PBM_SETSTEP, 1, 0);
</code></pre>
<p>kompiliert er zwar fehlerlos, läuft, aber es passiert nichts.<br />
weiss irgendwer, warum?<br />
schonmal vielen Dank,<br />
daniel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/536542</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/536542</guid><dc:creator><![CDATA[daniel12345]]></dc:creator><pubDate>Wed, 09 Jun 2004 08:39:21 GMT</pubDate></item><item><title><![CDATA[Reply to Fortschrittsbalken on Wed, 09 Jun 2004 09:25:29 GMT]]></title><description><![CDATA[<p>schon erledigt, hatte in der update-funktion das Barhandle nicht auf das fenster gerichtet</p>
]]></description><link>https://www.c-plusplus.net/forum/post/536565</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/536565</guid><dc:creator><![CDATA[daniel12345]]></dc:creator><pubDate>Wed, 09 Jun 2004 09:25:29 GMT</pubDate></item></channel></rss>