<?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 ohne MFC]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir jemand ein paar gute Tutorials oder Code Beispiele geben, wie ich<br />
in eine RichEditBox</p>
<p>1. Text einfärben kann (z.b. erstes Wort pro Zeile rot)<br />
2. Wie ich ein Icon aus einer Ressource Datei in der RichEditBox anzeigen kann<br />
(z.B. bei Chat anwendungen die Smilies in dem ChatFenster)</p>
<p>Ich wäre euch sehr dankbahr, wenn ihr mir helfen könntet,<br />
da ich schon ca 1 Woche nach solchen einträgen suche !</p>
<p>Leider hab ich das jeweils nur für MFC gefunden aber da ich ohne<br />
arbeite kann ich damit nichts anfangen...</p>
<p>Ich erstelle meine RichEditBox folgender massen:</p>
<pre><code class="language-cpp">RichEditLib = LoadLibrary(&quot;riched32.dll&quot;);

if( RichEditLib == NULL )
{
	MessageBox(NULL,&quot;Fehler beim laden von: riched32.dll!&quot;,&quot;Error&quot;,MB_ICONEXCLAMATION);
	PostQuitMessage(0);
}

Edit_ChatText = CreateWindowEx(WS_EX_CLIENTEDGE,RICHEDIT_CLASS,&quot;&quot;, WS_CHILD | WS_VISIBLE | ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL, 0, 0, 645, 529, hWnd, (HMENU)Edit_ChatTextID, hInst, NULL);
SendMessage(Edit_ChatText, WM_SETFONT, (WPARAM)GetStockObject(DEFAULT_GUI_FONT), 0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/77022/richedit-ohne-mfc</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 16:00:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/77022.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Jun 2004 20:31:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RichEdit ohne MFC on Wed, 16 Jun 2004 20:31:19 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>kann mir jemand ein paar gute Tutorials oder Code Beispiele geben, wie ich<br />
in eine RichEditBox</p>
<p>1. Text einfärben kann (z.b. erstes Wort pro Zeile rot)<br />
2. Wie ich ein Icon aus einer Ressource Datei in der RichEditBox anzeigen kann<br />
(z.B. bei Chat anwendungen die Smilies in dem ChatFenster)</p>
<p>Ich wäre euch sehr dankbahr, wenn ihr mir helfen könntet,<br />
da ich schon ca 1 Woche nach solchen einträgen suche !</p>
<p>Leider hab ich das jeweils nur für MFC gefunden aber da ich ohne<br />
arbeite kann ich damit nichts anfangen...</p>
<p>Ich erstelle meine RichEditBox folgender massen:</p>
<pre><code class="language-cpp">RichEditLib = LoadLibrary(&quot;riched32.dll&quot;);

if( RichEditLib == NULL )
{
	MessageBox(NULL,&quot;Fehler beim laden von: riched32.dll!&quot;,&quot;Error&quot;,MB_ICONEXCLAMATION);
	PostQuitMessage(0);
}

Edit_ChatText = CreateWindowEx(WS_EX_CLIENTEDGE,RICHEDIT_CLASS,&quot;&quot;, WS_CHILD | WS_VISIBLE | ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL, 0, 0, 645, 529, hWnd, (HMENU)Edit_ChatTextID, hInst, NULL);
SendMessage(Edit_ChatText, WM_SETFONT, (WPARAM)GetStockObject(DEFAULT_GUI_FONT), 0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/541959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/541959</guid><dc:creator><![CDATA[Karigos]]></dc:creator><pubDate>Wed, 16 Jun 2004 20:31:19 GMT</pubDate></item><item><title><![CDATA[Reply to RichEdit ohne MFC on Wed, 16 Jun 2004 20:41:58 GMT]]></title><description><![CDATA[<p>Was zum Geier nochmal hat das mit ISO C++ zu tun? Kusch! Geh ab ins Win32API Forum!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/541963</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/541963</guid><dc:creator><![CDATA[nix da]]></dc:creator><pubDate>Wed, 16 Jun 2004 20:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to RichEdit ohne MFC on Thu, 17 Jun 2004 11:31:41 GMT]]></title><description><![CDATA[<blockquote>
<p>'Wer der Beste sein will muss nach Perfektion streben und jede Gelegenheit nutzen sich zu verbessern.'</p>
</blockquote>
<p>Bevor du dich damit beschäftigst der Beste zu werden, solltest du lieber mal etwas an deinem Umgangston arbeiten. Da liegt doch einiges im Argen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/542265</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/542265</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Thu, 17 Jun 2004 11:31:41 GMT</pubDate></item><item><title><![CDATA[Reply to RichEdit ohne MFC on Thu, 17 Jun 2004 11:31:52 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=4" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" 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/542266</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/542266</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Thu, 17 Jun 2004 11:31:52 GMT</pubDate></item><item><title><![CDATA[Reply to RichEdit ohne MFC on Thu, 17 Jun 2004 11:35:21 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic.php?t=77022" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=77022</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/542276</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/542276</guid><dc:creator><![CDATA[CMatt]]></dc:creator><pubDate>Thu, 17 Jun 2004 11:35:21 GMT</pubDate></item></channel></rss>