<?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[Eingestellten Font finden?]]></title><description><![CDATA[<p>Ich will den im Desktop eingestellten Font lesen und an meine Controls senden.</p>
<pre><code class="language-cpp">HGDIOBJ font = GetStockObject (DEFAULT_GUI_FONT);
SendMessage(hwnd, WM_SETFONT, (WPARAM)font,  0);
</code></pre>
<p>Im Prinzip funktioniert es auch, jedoch bekomme ich immer nur die Standardgröße des Fonts zurück. Soll heißen, wenn ich in den Desktopeigenschaften-&gt;Darstestellung-&gt;Schriftgrad-&gt;Extragroß einstelle, erhalte ich trotzdem den normal großen Font in meinem Control. Ich bin dabei im Classic-Look und nicht Luna. In vielen anderen Programmen funktioniert das, z.B. im Firefox oder in der VisualC++-IDE selbst. Habe auch schon alle anderen Makros wie DEVICE_GUI_FONT usw. ausprobiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/174640/eingestellten-font-finden</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 18:15:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/174640.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 01 Mar 2007 13:45:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eingestellten Font finden? on Thu, 01 Mar 2007 13:45:07 GMT]]></title><description><![CDATA[<p>Ich will den im Desktop eingestellten Font lesen und an meine Controls senden.</p>
<pre><code class="language-cpp">HGDIOBJ font = GetStockObject (DEFAULT_GUI_FONT);
SendMessage(hwnd, WM_SETFONT, (WPARAM)font,  0);
</code></pre>
<p>Im Prinzip funktioniert es auch, jedoch bekomme ich immer nur die Standardgröße des Fonts zurück. Soll heißen, wenn ich in den Desktopeigenschaften-&gt;Darstestellung-&gt;Schriftgrad-&gt;Extragroß einstelle, erhalte ich trotzdem den normal großen Font in meinem Control. Ich bin dabei im Classic-Look und nicht Luna. In vielen anderen Programmen funktioniert das, z.B. im Firefox oder in der VisualC++-IDE selbst. Habe auch schon alle anderen Makros wie DEVICE_GUI_FONT usw. ausprobiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1237467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237467</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Thu, 01 Mar 2007 13:45:07 GMT</pubDate></item><item><title><![CDATA[Reply to Eingestellten Font finden? on Thu, 01 Mar 2007 13:54:19 GMT]]></title><description><![CDATA[<p>Das ist nicht der korrekte Weg.<br />
Die Fontgrößen die dort eingestellt worden sind erhältst Du mit SystemParametersInfo -&gt; SPI_GETNONCLIENTMETRICS!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1237474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237474</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 01 Mar 2007 13:54:19 GMT</pubDate></item><item><title><![CDATA[Reply to Eingestellten Font finden? on Thu, 01 Mar 2007 14:11:24 GMT]]></title><description><![CDATA[<p>Danke! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1237495</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237495</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Thu, 01 Mar 2007 14:11:24 GMT</pubDate></item></channel></rss>