<?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[Balkendiagramm darstellen ?]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>kann mir jemand einen Tip geben, wie man mit einem Balkendiagramm anfängt ??</p>
<p>Ich möchte gerne mehrere Blaken eventuell in einem View haben, der mir einen gewissen Status anzeigt (0% - 100%). Dieser wird live dargestellt, sollte seshalb schnell reagieren.</p>
<p>Wie mache ich das ??</p>
<p>Gruß und Danke andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/76671/balkendiagramm-darstellen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 15:55:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/76671.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Jun 2004 08:20:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 08:20:19 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>kann mir jemand einen Tip geben, wie man mit einem Balkendiagramm anfängt ??</p>
<p>Ich möchte gerne mehrere Blaken eventuell in einem View haben, der mir einen gewissen Status anzeigt (0% - 100%). Dieser wird live dargestellt, sollte seshalb schnell reagieren.</p>
<p>Wie mache ich das ??</p>
<p>Gruß und Danke andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539698</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539698</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 08:20:19 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 11:55:55 GMT]]></title><description><![CDATA[<p>mal in der msdn lesen ? so unter progressbar</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539828</guid><dc:creator><![CDATA[ff]]></dc:creator><pubDate>Mon, 14 Jun 2004 11:55:55 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 13:34:36 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>vielen Dank, so einfach hatte zuerst garnicht gedacht.<br />
Ich wollte zuerst über CView was eigenes Zeichnen. Wird aber wohl einfacher und besser über das Steuerelement un CForm View gehen.</p>
<p>Ich habe da allerdings noch ein Problem.<br />
Ich brauche mehrere Diagramme und zwar Dynamisch.<br />
Also der User kann welche hinzu fügen oder auch wieder abwehlen...</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539957</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539957</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 13:34:36 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 13:38:23 GMT]]></title><description><![CDATA[<p>Erstell doch einfach alle benötigten Progressbars und blende die nicht benötigten aus. bzw die benötigten ein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539965</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539965</guid><dc:creator><![CDATA[Ernsti]]></dc:creator><pubDate>Mon, 14 Jun 2004 13:38:23 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 14:04:51 GMT]]></title><description><![CDATA[<p>Das geht leider nicht, da ich beim erstellen nicht weis wieviele es gibt.</p>
<p>Ich muß die Anzahl aus einer Datenbank lesen und dann darstellen.<br />
Der User kann dann an oder abwählen.</p>
<p>Mir bleibt also nichts anderes übrig als einen Vector zu generieren.</p>
<p>Dort bekomme ich allerdings Probleme mit On Size.</p>
<pre><code class="language-cpp">void CEqualizerDialog::OnSize(UINT nType, int cx, int cy) 
{
	CFormView::OnSize(nType, cx, cy);

	// TODO: Code für die Behandlungsroutine für Nachrichten hier einfügen

	if (GetSafeHwnd())
	{
		TRACE(&quot;--- if (GetSafeHwnd())\n&quot;);

		for(int i=0;i&lt;m_vProzessListe.size();i++)
		{
			if (m_vProzessListe[i]-&gt;GetSafeHwnd())
			{
				CRect rect(5,5,cx-200,cy-5);
				m_vProzessListe[i]-&gt;MoveWindow(&amp;rect);	
			}
		}
	}	
}
</code></pre>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539989</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539989</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 14:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 14:07:35 GMT]]></title><description><![CDATA[<p>Dann erstell sie doch zur Laufzeit !</p>
<p>MSDN:</p>
<p>CProgressCtrl::Create<br />
BOOL Create( DWORD dwStyle, const RECT&amp; rect, CWnd* pParentWnd, UINT nID );</p>
<p>Return Value</p>
<p>TRUE if the CProgressCtrl object is successfully created; otherwise FALSE.</p>
<p>Parameters</p>
<p>dwStyle</p>
<p>Specifies the progress bar control’s style. Apply any combination of window styles, in addition to the following progress bar control styles, to the control:</p>
<p>PBS_VERTICAL Displays progress information vertically, top to bottom. Without this flag, the progress bar control displays horizontally, left to right.</p>
<p>PBS_SMOOTH Displays gradual, smooth filling in the progress bar control. Without this flag, the control will fill with blocks.<br />
rect</p>
<p>Specifies the progress bar control’s size and position. It can be either a CRect object or aRECT structure. Because the control must be a child window, the specified coordinates are relative to the client area of the pParentWnd.</p>
<p>pParentWnd</p>
<p>Specifies the progress bar control’s parent window, usually a CDialog. It must not be NULL.</p>
<p>nID</p>
<p>Specifies the progress bar control’s ID.</p>
<p>Remarks</p>
<p>You construct a CProgressCtrl object in two steps. First call the constructor, which creates the CProgressCtrl object; then call Create, which creates the progress bar control.</p>
<p>Example</p>
<p>CProgressCtrl myCtrl;</p>
<p>// Create a smooth child progress control.<br />
myCtrl.Create(WS_CHILD|WS_VISIBLE|PBS_SMOOTH, CRect(10,10,200,30),<br />
pParentWnd, 1);</p>
<p>CProgressCtrl Overview | Class Members | Hierarchy Chart</p>
<p>See Also CProgressCtrl::CProgressCtrl</p>
<p>--------------------------------------------------------------------------------<br />
Send feedback to MSDN.Look here for MSDN Online resources.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/539994</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/539994</guid><dc:creator><![CDATA[Ernsti]]></dc:creator><pubDate>Mon, 14 Jun 2004 14:07:35 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 14:55:18 GMT]]></title><description><![CDATA[<p>mmhhh.....</p>
<p>irgend wie klappt das nicht....</p>
<pre><code class="language-cpp">CProgressCtrl pBar[100];
	pBar[1].Create(WS_CHILD|WS_VISIBLE|PBS_SMOOTH, CRect(10,10,30,100), this, 1); 
	pBar[2].Create(WS_CHILD|WS_VISIBLE|PBS_SMOOTH, CRect(40,10,60,100), this, 1);
</code></pre>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540032</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540032</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 14:55:18 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 16:07:38 GMT]]></title><description><![CDATA[<p>Hallo,<br />
kann mir jemand Helfen ??</p>
<p>ich bekomme mehrere CProgressCtrl nicht zum Darstellen.</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540107</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 16:07:38 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 16:27:01 GMT]]></title><description><![CDATA[<p>Mal was anderes,</p>
<p>wo muß ich die Dinger eigentlich Generieren ??</p>
<p>Habe ein CFormView, auf dem es dargestellt werden soll.</p>
<p>Momentan versuche ich es in OnInitialUpdate zu generieren..</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540135</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 16:27:01 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Mon, 14 Jun 2004 17:41:32 GMT]]></title><description><![CDATA[<p>Irgendwie ist das ganze Ding Kääässseee...</p>
<p>ich muß einen CProzessCtrl 2* initialisieren ??<br />
Im Konstruktor und OnCreate ??</p>
<p>habe deshalb eine Funktion generiert, die mir die ProzessCtrl Kette generiern soll.</p>
<p>Mit einem Array Funktioniert es...<br />
aber mit einem Vector nicht:</p>
<pre><code class="language-cpp">void CEqualizerDialog::CreateProzessCtrl()
{
	// PBS_VERTICAL | PBS_SMOOTH | WS_BORDER
	for(int i=0;i&lt;10;i++)
	{
		pBar.Create(WS_CHILD|WS_VISIBLE|PBS_VERTICAL|PBS_SMOOTH | WS_BORDER, CRect(10,10,20,100), this, i);

		m_vProzessListe.push_back(pBar);
	}
}
</code></pre>
<p>Noch blöder ist es, dass ich Die Kette noch mit OnSize an das Fenster anpassen muß, dabei gibt es bei create schon eine größen Angabe.</p>
<p>Kann mir jemand Helfen ??</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540202</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540202</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Mon, 14 Jun 2004 17:41:32 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Tue, 15 Jun 2004 04:48:45 GMT]]></title><description><![CDATA[<p>STOP.</p>
<p>Was willst du da mit einem CProzessCtrl.<br />
Willst du dir 30 solche Dingens erstellen wenn du ein Monat darstellst.<br />
Wenn du ein View hast dann zeichne dort einfach.<br />
Wenn du einen Dialog hast<br />
<a href="http://www.codeproject.com/miscctrl/#Charting+Controls" rel="nofollow">http://www.codeproject.com/miscctrl/#Charting+Controls</a></p>
<p>das ganze nennt sich Chart.<br />
Es gibt auch von MS ein Control.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540420</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540420</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 15 Jun 2004 04:48:45 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Tue, 15 Jun 2004 06:55:27 GMT]]></title><description><![CDATA[<p>Hallo Unix-Tom,</p>
<p>ich brauche eine Live Darstellung von mehreren Daten.<br />
Diese stellen einen Stand dar, der variren kann.</p>
<p>Deswegen brauche ich einen ProzessCtrl.<br />
Geht das nicht mit dem ??</p>
<p>Es kann sich um über 100 solcher Dinger handeln...</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540453</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540453</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Tue, 15 Jun 2004 06:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Tue, 15 Jun 2004 07:18:25 GMT]]></title><description><![CDATA[<p>Und?<br />
Warum soll das mit einen Chart nicht gehen. Schau dir mal Emule an. Da sind die Daten auch Live. Glaubst du die machen das mit einem Progress</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540468</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 15 Jun 2004 07:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Tue, 15 Jun 2004 07:31:53 GMT]]></title><description><![CDATA[<p>Also Chart sagt mir jetzt gar nichts.</p>
<p>Gibt es dazu auch ein Steuerelement ??</p>
<p>Gruß<br />
andy_mann</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540477</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540477</guid><dc:creator><![CDATA[andy_mann]]></dc:creator><pubDate>Tue, 15 Jun 2004 07:31:53 GMT</pubDate></item><item><title><![CDATA[Reply to Balkendiagramm darstellen ? on Tue, 15 Jun 2004 08:16:54 GMT]]></title><description><![CDATA[<p>Hab dir doch einen Link gegeben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/540507</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/540507</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 15 Jun 2004 08:16:54 GMT</pubDate></item></channel></rss>