<?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[Farbe eines Static ändern mal anders]]></title><description><![CDATA[<p>Hi,</p>
<p>wie kann ich die Hintergrundfarbe eines Statics ändern OHNE die WndProc? Also ich hab ein Childfenster und möchte gerne wenn ich auf einen Button drücke die Hintergrundfarbe des Statics ändern.</p>
<p>Gibt es da irgendwie so eine funktion wie:<br />
SetWindowColor(hwnd, RGB(255,0,255)); ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/104984/farbe-eines-static-ändern-mal-anders</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 05:01:48 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/104984.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Mar 2005 16:42:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 16:42:50 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>wie kann ich die Hintergrundfarbe eines Statics ändern OHNE die WndProc? Also ich hab ein Childfenster und möchte gerne wenn ich auf einen Button drücke die Hintergrundfarbe des Statics ändern.</p>
<p>Gibt es da irgendwie so eine funktion wie:<br />
SetWindowColor(hwnd, RGB(255,0,255)); ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/751992</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751992</guid><dc:creator><![CDATA[Der Prof Auf Abwegen]]></dc:creator><pubDate>Thu, 24 Mar 2005 16:42:50 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 17:59:27 GMT]]></title><description><![CDATA[<p>WM_CTLCOLORSTATIC</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752059</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752059</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Thu, 24 Mar 2005 17:59:27 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 18:02:55 GMT]]></title><description><![CDATA[<p>Wer lesen kann ist klar im Vorteil:</p>
<p>OHNE WndProc! Und wo sind WindowsMessages? Na? In der WndProc!</p>
<p>Also jetzt sag mir mal wie das ohne geht bevor du weiter klamüserst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752061</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752061</guid><dc:creator><![CDATA[Der Prof Auf Abwegen]]></dc:creator><pubDate>Thu, 24 Mar 2005 18:02:55 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 18:17:33 GMT]]></title><description><![CDATA[<p>Da macht sich aber jemand Freunde. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
<p>Der Prof Auf Abwegen schrieb:</p>
<blockquote>
<p>wie kann ich die Hintergrundfarbe eines Statics ändern OHNE die WndProc?</p>
</blockquote>
<p>Geht nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752076</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752076</guid><dc:creator><![CDATA[groovemaster]]></dc:creator><pubDate>Thu, 24 Mar 2005 18:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 18:22:09 GMT]]></title><description><![CDATA[<p>Wieso geht das nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752079</guid><dc:creator><![CDATA[Der Prof Auf Abwegen]]></dc:creator><pubDate>Thu, 24 Mar 2005 18:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:01:25 GMT]]></title><description><![CDATA[<p>Wenn du dich so verhältst, bekommst du nie eine Antwort! Klar, ich hätte besser lesen sollen, aber mich dann gleich so anzumachen steht dir nicht zu. Wer etwas von anderen will, sollte sich nett verhalten...<br />
Ist es denn dein eigenes Static? Wenn nicht, dann könntest du einen Hook schreiben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752104</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:01:25 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:03:46 GMT]]></title><description><![CDATA[<p>Sorry wegen der anmache, aber bin schon seit stunden die MSDN am durchforsten nach etwas passendem aber ich finde nichts <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> da wird man schon sehr gereizt.</p>
<p>Das HWND ist mein eigenes</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752109</guid><dc:creator><![CDATA[Der Prof Auf Abwegen]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:06:31 GMT]]></title><description><![CDATA[<p>Und warum willst du es nicht per WindowProc machen? Entschuldige, wenn ich keine Antwort parat habe, aber ich möchte erstmal dein Problem verstehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752116</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:06:31 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:09:47 GMT]]></title><description><![CDATA[<p>Ich möchte nicht meine WndProc weiter überfüllen für &quot;Schönheitssachen&quot;, die ist schon mit 1500 Zeilen groß genug sowie bald total unübersichtlich genug.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752120</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752120</guid><dc:creator><![CDATA[Der Prof Auf Abwegen]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:09:47 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:22:26 GMT]]></title><description><![CDATA[<p>Dann solltest du eh den Code in andere Funktionen auslagern. Ein WM_CTLCOLORSTATIC kostet dich 3 Zeilen. Ist doch nicht so schlimm, oder? Ein Beispiel findest du auf <a href="http://www.winapi.net/index.php?inhalt=s13" rel="nofollow">http://www.winapi.net/index.php?inhalt=s13</a> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752137</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:22:26 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:22:21 GMT]]></title><description><![CDATA[<p>Deadlink</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752139</guid><dc:creator><![CDATA[Der Prof Auf Abwegen]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:22:21 GMT</pubDate></item><item><title><![CDATA[Reply to Farbe eines Static ändern mal anders on Thu, 24 Mar 2005 19:23:10 GMT]]></title><description><![CDATA[<p>Edit</p>
]]></description><link>https://www.c-plusplus.net/forum/post/752140</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/752140</guid><dc:creator><![CDATA[WebFritzi]]></dc:creator><pubDate>Thu, 24 Mar 2005 19:23:10 GMT</pubDate></item></channel></rss>