<?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[SetFont() ...]]></title><description><![CDATA[<p>Ich habe eine SDI-Anwendung mit einem MFC-Framework erstellt.<br />
Die View-Klasse habe ich von der CEditView Klasse abgeleitet.<br />
Ich wollte nun die Schriftart verändern, und habe es folgendermassen<br />
versucht:</p>
<p>File.h ...<br />
Cfont font;</p>
<p>File.cpp<br />
.. ::OnInitialUpdate() ..<br />
font.CreatePointFont(400, &quot;Arial&quot;, NULL);<br />
GetEditCtrl().SetFont(&amp;font, false);<br />
( Oder auch nur SetFont(&amp;font, false); )</p>
<p>Das ging ! Die Schrift erschien gross.<br />
Ich konnte die Datei auch abspeichern.<br />
Nur beim Wieder-Laden kam eine Fehlermeldung.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/201695/setfont</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 17:40:37 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/201695.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Jan 2008 09:24:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SetFont() ... on Thu, 03 Jan 2008 09:24:56 GMT]]></title><description><![CDATA[<p>Ich habe eine SDI-Anwendung mit einem MFC-Framework erstellt.<br />
Die View-Klasse habe ich von der CEditView Klasse abgeleitet.<br />
Ich wollte nun die Schriftart verändern, und habe es folgendermassen<br />
versucht:</p>
<p>File.h ...<br />
Cfont font;</p>
<p>File.cpp<br />
.. ::OnInitialUpdate() ..<br />
font.CreatePointFont(400, &quot;Arial&quot;, NULL);<br />
GetEditCtrl().SetFont(&amp;font, false);<br />
( Oder auch nur SetFont(&amp;font, false); )</p>
<p>Das ging ! Die Schrift erschien gross.<br />
Ich konnte die Datei auch abspeichern.<br />
Nur beim Wieder-Laden kam eine Fehlermeldung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429747</guid><dc:creator><![CDATA[GeorgC++]]></dc:creator><pubDate>Thu, 03 Jan 2008 09:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to SetFont() ... on Thu, 03 Jan 2008 09:39:35 GMT]]></title><description><![CDATA[<p>GeorgC++ schrieb:</p>
<blockquote>
<p>Nur beim Wieder-Laden kam eine Fehlermeldung.</p>
</blockquote>
<p>Welche? Wie ist der Code fürs laden?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429755</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Thu, 03 Jan 2008 09:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to SetFont() ... on Thu, 03 Jan 2008 10:00:32 GMT]]></title><description><![CDATA[<p>Ist das CFont Objekt auch länger gültig, d.h. hast Du es im CView Objekt abgelegt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1429763</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1429763</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 03 Jan 2008 10:00:32 GMT</pubDate></item></channel></rss>