<?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[Schriftgröße bei Label ändern]]></title><description><![CDATA[<p>Hallo Leute,<br />
ich erzeuge mit CreateWindow... ein Label, allerdings möchte ich dort die Textgröße erhöhen. Allerdings finde ich nirgendswo einen Parameter dafür etc.</p>
<p>MFG, Rodney</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/72217/schriftgröße-bei-label-ändern</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 21:59:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/72217.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Apr 2004 13:12:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Schriftgröße bei Label ändern on Mon, 26 Apr 2004 13:12:53 GMT]]></title><description><![CDATA[<p>Hallo Leute,<br />
ich erzeuge mit CreateWindow... ein Label, allerdings möchte ich dort die Textgröße erhöhen. Allerdings finde ich nirgendswo einen Parameter dafür etc.</p>
<p>MFG, Rodney</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509116</guid><dc:creator><![CDATA[Rodney]]></dc:creator><pubDate>Mon, 26 Apr 2004 13:12:53 GMT</pubDate></item><item><title><![CDATA[Reply to Schriftgröße bei Label ändern on Mon, 26 Apr 2004 13:45:48 GMT]]></title><description><![CDATA[<p>siehe faq <a href="http://www.c-plusplus.net/forum/viewtopic.php?t=68634" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=68634</a> und <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Windowing/Windows/WindowReference/WindowMessages/WM_SETFONT.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Windowing/Windows/WindowReference/WindowMessages/WM_SETFONT.asp</a><br />
einen neuen font kannst du mit <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_8fp0.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_8fp0.asp</a> erstellen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509150</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Mon, 26 Apr 2004 13:45:48 GMT</pubDate></item><item><title><![CDATA[Reply to Schriftgröße bei Label ändern on Mon, 26 Apr 2004 13:59:43 GMT]]></title><description><![CDATA[<p>thx, aber diesen wParam</p>
<pre><code class="language-cpp">(WPARAM)GetStockObject(DEFAULT_GUI_FONT),
</code></pre>
<p>was für fonts kann ich da angeben?<br />
Ich möchte ARIAL in Schriftgröße 14 haben...</p>
<p>MFG, Rodney</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509168</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509168</guid><dc:creator><![CDATA[Rodney]]></dc:creator><pubDate>Mon, 26 Apr 2004 13:59:43 GMT</pubDate></item><item><title><![CDATA[Reply to Schriftgröße bei Label ändern on Mon, 26 Apr 2004 14:09:03 GMT]]></title><description><![CDATA[<p>dann machst du</p>
<pre><code class="language-cpp">HFONT hFont = CreateFont(
        14,
        0,
        0,
        0,
        0,
        FALSE,
        FALSE,
        FALSE,
        ANSI_CHARSET,
        OUT_TT_PRECIS,
        CLIP_DEFAULT_PRECIS,
        ANTIALIASED_QUALITY,
        FF_DONTCARE | DEFAULT_PITCH,
        TEXT(&quot;arial&quot;));

  SendMessage(
    hwnd, 
    WM_SETFONT, 
    (WPARAM)hFont, 
    0);
</code></pre>
<p>schau dir mal dir params von createfont an</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509180</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509180</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Mon, 26 Apr 2004 14:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to Schriftgröße bei Label ändern on Mon, 26 Apr 2004 14:11:34 GMT]]></title><description><![CDATA[<p>Ich würde raten:</p>
<pre><code class="language-cpp">HFONT arial14ptFont;
int nHeight;

nHeight = -MulDiv(PointSize, GetDeviceCaps(hDC, LOGPIXELSY), 72);
arial14ptFont=CreateFont(nHeight,0,0,0,FW_NORMAL,false,false,false,ANSI_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH|FF_DONTCARE,&quot;Arial&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/509184</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509184</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Mon, 26 Apr 2004 14:11:34 GMT</pubDate></item><item><title><![CDATA[Reply to Schriftgröße bei Label ändern on Mon, 26 Apr 2004 14:14:12 GMT]]></title><description><![CDATA[<p>ok, du berücksichtigst noch die auflösung. hab ich vergessen :p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/509187</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/509187</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Mon, 26 Apr 2004 14:14:12 GMT</pubDate></item></channel></rss>