<?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[Frage zu SetDCPenColor.]]></title><description><![CDATA[<p>Tag,</p>
<p>Ich hab da mal ne Frage und zwar, wenn ich mit SetDCPenColor, die dc meines pens aendere verliert der leider auch seine Breite, nach dem aendern ist die Breite wieder auf 1 gesetzt. Ich würde gern wissen ob man die Breite des pens dann auch wieder anpassen kann?</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/201894/frage-zu-setdcpencolor</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 22:36:15 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/201894.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Jan 2008 13:47:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Sat, 05 Jan 2008 13:47:37 GMT]]></title><description><![CDATA[<p>Tag,</p>
<p>Ich hab da mal ne Frage und zwar, wenn ich mit SetDCPenColor, die dc meines pens aendere verliert der leider auch seine Breite, nach dem aendern ist die Breite wieder auf 1 gesetzt. Ich würde gern wissen ob man die Breite des pens dann auch wieder anpassen kann?</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431117</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sat, 05 Jan 2008 13:47:37 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Sun, 06 Jan 2008 11:02:58 GMT]]></title><description><![CDATA[<p>*push*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1431680</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1431680</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Sun, 06 Jan 2008 11:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 13:34:43 GMT]]></title><description><![CDATA[<p>Also auf Grund der zahlreichen posts, gehe ich mit der Annahme richtig, dass es nicht möglich ist?</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432395</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432395</guid><dc:creator><![CDATA[Tobi zu Gast]]></dc:creator><pubDate>Mon, 07 Jan 2008 13:34:43 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 17:03:23 GMT]]></title><description><![CDATA[<p>Ja.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432569</guid><dc:creator><![CDATA[mikey]]></dc:creator><pubDate>Mon, 07 Jan 2008 17:03:23 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 18:57:25 GMT]]></title><description><![CDATA[<p>Warum nimmst du nicht einfach einen HPEN und füllst den entsprechend?`</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432630</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432630</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 07 Jan 2008 18:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 20:13:29 GMT]]></title><description><![CDATA[<p>weil darum:</p>
<pre><code class="language-cpp">struct RECHTECK {

    RECT rechteck;
    COLORREF cColor;
};

RECHTECK *pRect;

pRect = new RECHTECK[ 10 ];

HPEN hPen = CreatePen( PS_SOLID, 2, 0 );

for( int i = 0; i &lt; 10; i++ ) {

    // setze farbe
    // male rechteck   
}
</code></pre>
<p>so sieht in etwa aus, das ist da übrigens nur nen beispiel ist net wirklich fuer nen rechteck.</p>
<p>Gruß Tobi.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432671</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432671</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 07 Jan 2008 20:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 20:18:10 GMT]]></title><description><![CDATA[<p>DeleteObject, CreatePen usw.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432673</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432673</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 07 Jan 2008 20:18:10 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 20:32:27 GMT]]></title><description><![CDATA[<p>denke man kann innerhalb von hDC = GetDC() und ReleaseDC() keine Deleteobject commands aufrufen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432680</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432680</guid><dc:creator><![CDATA[T0bi]]></dc:creator><pubDate>Mon, 07 Jan 2008 20:32:27 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Mon, 07 Jan 2008 22:14:00 GMT]]></title><description><![CDATA[<p>? Aber sicher darfst du das! Du sollst es sogar! Alles was du erstellst sollst du auch wieder freigeben. Guck dir mal GDIUsage an, das ist ein Programm zu checken, ob du einen Brush nicht gelöscht hast, demnach Memory Leaks erzeugt hast.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432764</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 07 Jan 2008 22:14:00 GMT</pubDate></item><item><title><![CDATA[Reply to Frage zu SetDCPenColor. on Tue, 08 Jan 2008 07:26:18 GMT]]></title><description><![CDATA[<p>T0bi schrieb:</p>
<blockquote>
<p>denke man kann innerhalb von hDC = GetDC() und ReleaseDC() keine Deleteobject commands aufrufen?</p>
</blockquote>
<p>Doch, sofern die zu löschenden Objekte nicht mehr im DC ausgewählt sind. Dafür sorgt ein entsprechendes SelectObject(hDC, hOldObject).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1432810</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1432810</guid><dc:creator><![CDATA[sri]]></dc:creator><pubDate>Tue, 08 Jan 2008 07:26:18 GMT</pubDate></item></channel></rss>