<?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[SYSTEM_FIXED_FONT in EditBox]]></title><description><![CDATA[<p>Hallo, ich hab eine Frage und zwar möchte ich in einem Eingabefeld eine Gleichmäßige Schrift verwenden. D.h. alle Buchstaben sollen gleich groß sein sprich i ist ge´nauso groß wie M. Ich hab da auch schon was gefunen, ich glaube man nennt diesen Schrifttyp SYSTEM_FIXED_FONT. ich hab dann mal was gebastelt, was leider nicht funktioniert. Wie kann ich das vielleicht anders lösen oder ist da ein Fehler drinn?</p>
<p>Danke schonmal vorab</p>
<pre><code class="language-cpp">hwndStatus   = CreateWindow ( &quot;edit&quot;, &quot;&quot;,               //eingabefeld Status
                                                     WS_CHILD | WS_VISIBLE | WS_BORDER | ES_AUTOVSCROLL | 
                                                     WS_VSCROLL | ES_MULTILINE | ES_READONLY, 
                                                     x+780, y+640, 270, 70, hwnd, (HMENU)ID_STATUS, 
                                                     (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);

SendMessage(hwndStatus, WM_SETFONT, (WPARAM)SYSTEM_FIXED_FONT, MAKELPARAM(TRUE, 0));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/202598/system_fixed_font-in-editbox</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 18:16:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/202598.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Jan 2008 13:14:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SYSTEM_FIXED_FONT in EditBox on Sun, 13 Jan 2008 13:14:10 GMT]]></title><description><![CDATA[<p>Hallo, ich hab eine Frage und zwar möchte ich in einem Eingabefeld eine Gleichmäßige Schrift verwenden. D.h. alle Buchstaben sollen gleich groß sein sprich i ist ge´nauso groß wie M. Ich hab da auch schon was gefunen, ich glaube man nennt diesen Schrifttyp SYSTEM_FIXED_FONT. ich hab dann mal was gebastelt, was leider nicht funktioniert. Wie kann ich das vielleicht anders lösen oder ist da ein Fehler drinn?</p>
<p>Danke schonmal vorab</p>
<pre><code class="language-cpp">hwndStatus   = CreateWindow ( &quot;edit&quot;, &quot;&quot;,               //eingabefeld Status
                                                     WS_CHILD | WS_VISIBLE | WS_BORDER | ES_AUTOVSCROLL | 
                                                     WS_VSCROLL | ES_MULTILINE | ES_READONLY, 
                                                     x+780, y+640, 270, 70, hwnd, (HMENU)ID_STATUS, 
                                                     (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);

SendMessage(hwndStatus, WM_SETFONT, (WPARAM)SYSTEM_FIXED_FONT, MAKELPARAM(TRUE, 0));
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1435863</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435863</guid><dc:creator><![CDATA[soeni]]></dc:creator><pubDate>Sun, 13 Jan 2008 13:14:10 GMT</pubDate></item><item><title><![CDATA[Reply to SYSTEM_FIXED_FONT in EditBox on Sun, 13 Jan 2008 15:45:34 GMT]]></title><description><![CDATA[<p>Du musst ein HFONT übergeben als wParam.<br />
GetStockObject(SYSTEM_FIXED_FONT) liefert ein HFONT.</p>
<p>msdn schrieb:</p>
<blockquote>
<p>SYSTEM_FIXED_FONT Fixed-pitch (monospace) system font. This stock object is provided only for compatibility with 16-bit Windows versions earlier than 3.0.</p>
</blockquote>
<p>Evtl. ist ANSI_FIXED_FONT besser.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1435952</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1435952</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Sun, 13 Jan 2008 15:45:34 GMT</pubDate></item></channel></rss>