<?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[RichEdit Hintergrund abfragen]]></title><description><![CDATA[<p>Hi,</p>
<p>Ich setze so die Hintergrundfarbe in einem RichEdit.</p>
<pre><code class="language-cpp">void RE_SetSelBgColor(TRichEdit* RichEdit, TColor Farbe)
{
  ::CHARFORMAT2 Format;
  Format.cbSize = sizeof(Format);
  Format.dwMask = CFM_BACKCOLOR;
  Format.crBackColor = Farbe;
  RichEdit-&gt;Perform(EM_SETCHARFORMAT, SCF_SELECTION, LONG(&amp;Format));
}
</code></pre>
<p>Wie kann ich das den wieder abfragen welche Farbe der markierte Text nur hat?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173057/richedit-hintergrund-abfragen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 12:19:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173057.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Feb 2007 13:32:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RichEdit Hintergrund abfragen on Sun, 11 Feb 2007 13:32:28 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Ich setze so die Hintergrundfarbe in einem RichEdit.</p>
<pre><code class="language-cpp">void RE_SetSelBgColor(TRichEdit* RichEdit, TColor Farbe)
{
  ::CHARFORMAT2 Format;
  Format.cbSize = sizeof(Format);
  Format.dwMask = CFM_BACKCOLOR;
  Format.crBackColor = Farbe;
  RichEdit-&gt;Perform(EM_SETCHARFORMAT, SCF_SELECTION, LONG(&amp;Format));
}
</code></pre>
<p>Wie kann ich das den wieder abfragen welche Farbe der markierte Text nur hat?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1226839</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1226839</guid><dc:creator><![CDATA[einunregistrierter]]></dc:creator><pubDate>Sun, 11 Feb 2007 13:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to RichEdit Hintergrund abfragen on Sun, 11 Feb 2007 14:45:50 GMT]]></title><description><![CDATA[<p>Wie wär's mit EM_<strong>G</strong>ETCHARFORMAT!?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1226885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1226885</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 11 Feb 2007 14:45:50 GMT</pubDate></item></channel></rss>