<?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[Prozentzahl in Progressbar anzeigen und auf bestimmte Prozentzahl setzen]]></title><description><![CDATA[<p>Hallo, ich hab leider noch eine Frage und zwar ersten wie setze ich einen Progressbar auf eine bestimmte Prozentzahl (z.b. auf 31%) und zweitens wie kann ich die Prozentzahl in der Statusleiste anzeigen?</p>
<p>hier der code:</p>
<pre><code class="language-cpp">hwndPB = CreateWindowEx(0, PROGRESS_CLASS,
       &quot;&quot;, WS_CHILD | WS_VISIBLE | PBS_SMOOTH,
       10,15,370,20,
       hwnd, (HMENU)ID_PROGRESS,
       ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
</code></pre>
<p>geht das mit einem style?</p>
<p>danke im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/202216/prozentzahl-in-progressbar-anzeigen-und-auf-bestimmte-prozentzahl-setzen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 18:20:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/202216.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Jan 2008 21:49:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Prozentzahl in Progressbar anzeigen und auf bestimmte Prozentzahl setzen on Tue, 08 Jan 2008 21:49:50 GMT]]></title><description><![CDATA[<p>Hallo, ich hab leider noch eine Frage und zwar ersten wie setze ich einen Progressbar auf eine bestimmte Prozentzahl (z.b. auf 31%) und zweitens wie kann ich die Prozentzahl in der Statusleiste anzeigen?</p>
<p>hier der code:</p>
<pre><code class="language-cpp">hwndPB = CreateWindowEx(0, PROGRESS_CLASS,
       &quot;&quot;, WS_CHILD | WS_VISIBLE | PBS_SMOOTH,
       10,15,370,20,
       hwnd, (HMENU)ID_PROGRESS,
       ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
</code></pre>
<p>geht das mit einem style?</p>
<p>danke im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1433326</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1433326</guid><dc:creator><![CDATA[soeni]]></dc:creator><pubDate>Tue, 08 Jan 2008 21:49:50 GMT</pubDate></item><item><title><![CDATA[Reply to Prozentzahl in Progressbar anzeigen und auf bestimmte Prozentzahl setzen on Wed, 09 Jan 2008 09:25:34 GMT]]></title><description><![CDATA[<p>Mit Styles nicht, aber mit Messages *nachguckt* du benötigst die PBM_GETPOS und PBM_SETPOS:</p>
<pre><code class="language-cpp">int pos = SendMessage(hwndPB,PBM_GETPOS,0,0);
...
SendMessage(hwndPB,PBM_SETPOS,pos,0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1433467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1433467</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 09 Jan 2008 09:25:34 GMT</pubDate></item><item><title><![CDATA[Reply to Prozentzahl in Progressbar anzeigen und auf bestimmte Prozentzahl setzen on Wed, 09 Jan 2008 12:40:40 GMT]]></title><description><![CDATA[<p>danke erstmal</p>
<p>und wie kann ich die prozentzahl anzeigen lassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1433601</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1433601</guid><dc:creator><![CDATA[soeni]]></dc:creator><pubDate>Wed, 09 Jan 2008 12:40:40 GMT</pubDate></item><item><title><![CDATA[Reply to Prozentzahl in Progressbar anzeigen und auf bestimmte Prozentzahl setzen on Wed, 09 Jan 2008 12:48:43 GMT]]></title><description><![CDATA[<p>Indem du sie in ein anderes Fenster-Element ausgeben lässt - die PBM_GETPOS liefert dir die Lage des Balkens zurück, damit kannst du nun machen, was dir Spaß macht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1433613</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1433613</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Wed, 09 Jan 2008 12:48:43 GMT</pubDate></item></channel></rss>