<?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[schriftart groupbox-caption]]></title><description><![CDATA[<p>hossa,</p>
<p>ich hab hier ein kleines design-problem. ich möchte in ein dialogbox-ähnliches fenster aus ein window-fkt erstellen. darin möchte ich dann ein paar daten in group-boxen zusammenfassen.</p>
<pre><code class="language-cpp">hwndGroupBox[0] = CreateWindow (TEXT (&quot;button&quot;), TEXT (&quot;Frequenz &amp; Wellenlänge&quot;),
										BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 
										10, 10,
										200, 90,
										hwnd, NULL, hInst, 0);
</code></pre>
<p>hier bekomme ich aber als caption-schriftart nur die system-font oder wie auch immer die heisst. also die recht schlichte und große. ich möchte hier aber die dialogbox-schriftart haben, also</p>
<pre><code class="language-cpp">SelectObject (hdc, GetStockObject (DEFAULT_GUI_FONT));
</code></pre>
<p>die benutz ich im rest des fensters auch, sieht ja schöner aus, ne. aber wie bekomme ich die nun in die caption.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/152149/schriftart-groupbox-caption</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 15:06:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/152149.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Jul 2006 14:19:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to schriftart groupbox-caption on Mon, 03 Jul 2006 14:19:31 GMT]]></title><description><![CDATA[<p>hossa,</p>
<p>ich hab hier ein kleines design-problem. ich möchte in ein dialogbox-ähnliches fenster aus ein window-fkt erstellen. darin möchte ich dann ein paar daten in group-boxen zusammenfassen.</p>
<pre><code class="language-cpp">hwndGroupBox[0] = CreateWindow (TEXT (&quot;button&quot;), TEXT (&quot;Frequenz &amp; Wellenlänge&quot;),
										BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 
										10, 10,
										200, 90,
										hwnd, NULL, hInst, 0);
</code></pre>
<p>hier bekomme ich aber als caption-schriftart nur die system-font oder wie auch immer die heisst. also die recht schlichte und große. ich möchte hier aber die dialogbox-schriftart haben, also</p>
<pre><code class="language-cpp">SelectObject (hdc, GetStockObject (DEFAULT_GUI_FONT));
</code></pre>
<p>die benutz ich im rest des fensters auch, sieht ja schöner aus, ne. aber wie bekomme ich die nun in die caption.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1090727</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1090727</guid><dc:creator><![CDATA[miraculi]]></dc:creator><pubDate>Mon, 03 Jul 2006 14:19:31 GMT</pubDate></item><item><title><![CDATA[Reply to schriftart groupbox-caption on Mon, 03 Jul 2006 14:22:14 GMT]]></title><description><![CDATA[<p>WM_CTLCOLORSTATIC</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1090729</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1090729</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 03 Jul 2006 14:22:14 GMT</pubDate></item><item><title><![CDATA[Reply to schriftart groupbox-caption on Mon, 03 Jul 2006 14:34:35 GMT]]></title><description><![CDATA[<p>jau danke sehr. den hab ich gesucht.</p>
<p>hast du auch ne idee wie ich sonderzeichen ausgebe, z.B. lambda λ oder n einfaches kaufmannsund &amp;. da streikt er auch schon mit TextOut.<br />
kann man eigentlich auch mit nem einfachen befehl tiefergestellten text erzeugen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1090735</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1090735</guid><dc:creator><![CDATA[miraculi]]></dc:creator><pubDate>Mon, 03 Jul 2006 14:34:35 GMT</pubDate></item><item><title><![CDATA[Reply to schriftart groupbox-caption on Tue, 04 Jul 2006 10:13:12 GMT]]></title><description><![CDATA[<p>Wenn es Dir um den Font geht heißt das WM_SETFONT einfach verwenden.<br />
Wenn der Dialog schon existiert dann kannst Du theoretisch per WM_GETFONT vom Parent den Font holen und per WM_SETFONT setzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1091108</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1091108</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 04 Jul 2006 10:13:12 GMT</pubDate></item><item><title><![CDATA[Reply to schriftart groupbox-caption on Tue, 04 Jul 2006 15:52:55 GMT]]></title><description><![CDATA[<p>Hmm ne sowas leigt net an der Font <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="😉"
    /> Hab das bei mir auch... allerdings bei ner Dll... werd mal sehen ob ich dir die richtie Lösung mal poste...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1091322</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1091322</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Tue, 04 Jul 2006 15:52:55 GMT</pubDate></item><item><title><![CDATA[Reply to schriftart groupbox-caption on Tue, 04 Jul 2006 16:50:26 GMT]]></title><description><![CDATA[<p>BTW: ich finde den Standard XP Style eigentlich ganz nett:<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/Userex/cookbook.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/CommCtls/Userex/cookbook.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1091345</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1091345</guid><dc:creator><![CDATA[Vertexwahn]]></dc:creator><pubDate>Tue, 04 Jul 2006 16:50:26 GMT</pubDate></item></channel></rss>