<?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[Button Font + Color]]></title><description><![CDATA[<p>Ich hab hier Button erstellt... jedoch blicke ich nicht durch wie ich Font, Text-Farbe und Hintergr-Farbe einstellen kann... ich finde nur was für GDI (?)</p>
<p>außerdem mein Standardfont nach dem CreateWindowsEx beim Button ist &quot;FETT&quot;... wie kann ich es zumindest auf Systemstandard stellen - denn da sieht es normal dünn aus...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/187360/button-font-color</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Jul 2026 13:35:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/187360.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Jul 2007 19:57:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Button Font + Color on Wed, 18 Jul 2007 20:49:46 GMT]]></title><description><![CDATA[<p>Ich hab hier Button erstellt... jedoch blicke ich nicht durch wie ich Font, Text-Farbe und Hintergr-Farbe einstellen kann... ich finde nur was für GDI (?)</p>
<p>außerdem mein Standardfont nach dem CreateWindowsEx beim Button ist &quot;FETT&quot;... wie kann ich es zumindest auf Systemstandard stellen - denn da sieht es normal dünn aus...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328062</guid><dc:creator><![CDATA[TheShadow2000]]></dc:creator><pubDate>Wed, 18 Jul 2007 20:49:46 GMT</pubDate></item><item><title><![CDATA[Reply to Button Font + Color on Wed, 18 Jul 2007 20:54:18 GMT]]></title><description><![CDATA[<p>Windows SDK lesen: Du musst in komplett selber zeichnen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328094</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328094</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 18 Jul 2007 20:54:18 GMT</pubDate></item><item><title><![CDATA[Reply to Button Font + Color on Wed, 18 Jul 2007 21:06:14 GMT]]></title><description><![CDATA[<p>aha... und Standardfont? auch selbst malen?</p>
<p>EDIT... oh durch Zufall gefunden:</p>
<p>SendMessage(handle, WM_SETFONT, GetStockObject(DEFAULT_GUI_FONT), 1);</p>
<p>so... jetzt wäre ich für Tipps dankbar wie ich es mit Farbe machen kann?<br />
Irg was das am einfachsten ist...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328099</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328099</guid><dc:creator><![CDATA[TheShadow2000]]></dc:creator><pubDate>Wed, 18 Jul 2007 21:06:14 GMT</pubDate></item><item><title><![CDATA[Reply to Button Font + Color on Wed, 18 Jul 2007 21:12:53 GMT]]></title><description><![CDATA[<p>Tip: FAQ Schauen <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39375.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39375.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328106</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328106</guid><dc:creator><![CDATA[Ascharan]]></dc:creator><pubDate>Wed, 18 Jul 2007 21:12:53 GMT</pubDate></item><item><title><![CDATA[Reply to Button Font + Color on Wed, 18 Jul 2007 21:37:00 GMT]]></title><description><![CDATA[<p>hm, jetzt hab ich button grün gemacht... aber text ist nun unsichtbar... (muß ich text nun selbst malen...?)</p>
<p>case WM_CTLCOLORBTN:<br />
SetBkColor((HDC)wparam, RGB(0,0,255));<br />
SetTextColor((HDC)wparam, RGB(255,0,0));<br />
return (long)CreateSolidBrush(RGB(0,255,0));</p>
<p>und das mit WM zu machen, ist auch irg. eine kranke Idee von MS gewesen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328109</guid><dc:creator><![CDATA[TheShadow2000]]></dc:creator><pubDate>Wed, 18 Jul 2007 21:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Button Font + Color on Wed, 18 Jul 2007 21:46:08 GMT]]></title><description><![CDATA[<p>Versuch mal SetBkMode mit dem Flag TRANSPARENT.</p>
<p>PS: Du erzeugst beim Aufruf von CreateSolidBrush haufenweise GDI-Leaks. Du musst den Brush auch freigeben. Evtl. über eine sich anpassende statische Variable (Typ: HBRUSH) ...Funktion zum Freigeben ist DeleteObject <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> .</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1328117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1328117</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Wed, 18 Jul 2007 21:46:08 GMT</pubDate></item></channel></rss>