<?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[Unterschiedliche Schriftstärken in der Statusleiste]]></title><description><![CDATA[<p>Hallo, ich hab’ gerade erst angefangen WinApi mit VC++ zu proggen. Ich habe von meinen Chef die Aufgabe bekommen in der Stausleiste Schrift, mit unterschiedlichen Schriftstärke, darzustellen. Geht das überhaupt oder muss ich dazu verschiedene Labelkomponenten in die Stausleiste einfügen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/175684/unterschiedliche-schriftstärken-in-der-statusleiste</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 23:40:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/175684.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Mar 2007 09:36:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unterschiedliche Schriftstärken in der Statusleiste on Tue, 13 Mar 2007 09:36:50 GMT]]></title><description><![CDATA[<p>Hallo, ich hab’ gerade erst angefangen WinApi mit VC++ zu proggen. Ich habe von meinen Chef die Aufgabe bekommen in der Stausleiste Schrift, mit unterschiedlichen Schriftstärke, darzustellen. Geht das überhaupt oder muss ich dazu verschiedene Labelkomponenten in die Stausleiste einfügen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1244546</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1244546</guid><dc:creator><![CDATA[alterego]]></dc:creator><pubDate>Tue, 13 Mar 2007 09:36:50 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschiedliche Schriftstärken in der Statusleiste on Tue, 13 Mar 2007 09:48:15 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-9713.html" rel="nofollow">estartu</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-1.html" rel="nofollow">MFC (Visual C++)</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1244554</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1244554</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 13 Mar 2007 09:48:15 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschiedliche Schriftstärken in der Statusleiste on Wed, 14 Mar 2007 13:25:21 GMT]]></title><description><![CDATA[<p>Ownerdraw Statusbars.<br />
<a href="http://msdn2.microsoft.com/en-us/ms651126.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/ms651126.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1245421</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1245421</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 14 Mar 2007 13:25:21 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschiedliche Schriftstärken in der Statusleiste on Wed, 14 Mar 2007 14:41:24 GMT]]></title><description><![CDATA[<p>Jetzt weiß ich zumindest das es geht. Jedoch steht da nicht wie.<br />
Ich erzeuge mir meine Statusleiste als Objekt der Klasse: CStatusBarCtrl<br />
und verwende zum manipuliueren: SetParts() und SetText().<br />
Wie ich den Font der ganzen Statusleiste einstelle hab ich auch schon raus. Kann mir nicht jemand sagen wie ich den Font eines Parts, oder noch besser eines Teilstrings individuell manipulieren kann.</p>
<p>Mit Java ging alles so einfach. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1245494</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1245494</guid><dc:creator><![CDATA[alterego]]></dc:creator><pubDate>Wed, 14 Mar 2007 14:41:24 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschiedliche Schriftstärken in der Statusleiste on Wed, 14 Mar 2007 18:26:44 GMT]]></title><description><![CDATA[<p>alterego schrieb:</p>
<blockquote>
<p>Jetzt weiß ich zumindest das es geht. Jedoch steht da nicht wie.</p>
</blockquote>
<p>Wieso steht da nicht wie. Es steht genau erklärt da:<br />
Owner-Drawn Status Bars<br />
You can define individual parts of a status bar to be owner-drawn parts. Using this technique gives you more control than you would otherwise have over the appearance of the window part. For example, you can display a bitmap rather than text or draw text using a different font.</p>
<p>To define a window part as owner-drawn, send the SB_SETTEXT message to the status bar, specifying the part and the SBT_OWNERDRAW drawing technique. When SBT_OWNERDRAW is specified, the lParam parameter is a 32-bit application-defined value that the application can use when drawing the part. For example, you can specify a font handle, a bitmap handle, an address of a string, and so on.</p>
<p>When a status bar needs to draw an owner-drawn part, it sends the WM_DRAWITEM message to the parent window. The wParam parameter of the message is the child window identifier of the status bar, and the lParam parameter is the address of a DRAWITEMSTRUCT structure. The parent window uses the information in the structure to draw the part. For an owner-drawn part of a status bar, DRAWITEMSTRUCT contains the following information.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1245693</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1245693</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 14 Mar 2007 18:26:44 GMT</pubDate></item></channel></rss>