<?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 - wie kann ich das denn überhaupt erstellen?]]></title><description><![CDATA[<p>hi,</p>
<p>ich wollte mal ein richedit-feld erstellen und habe folgendes \1:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;richedit.h&gt;

LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);

[...]

LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	HWND	hRichEdit;

	switch (message)
	{
	case WM_CREATE:
		hRichEdit = CreateWindow(RICHEDIT_CLASS, &quot;blabliblu&quot;, WS_CHILD | WS_VISIBLE | WS_BORDER, 20, 20, 300, 200, hWnd, (HMENU)1, ((LPCREATESTRUCT)lParam)-&gt;hInstance, NULL);
		return 0;

	case WM_DESTROY:
		PostQuitMessage(0);
		return 0;
	}

	return DefWindowProc(hWnd, message, wParam, lParam);
}
</code></pre>
<p>ich habe also bei CreateWindow einfach beim klassennamen &quot;edit&quot; durch RICHEDIT_CLASS ersetzt. allerdings wird gar nichts angezeigt, aber wieso?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/68274/richedit-wie-kann-ich-das-denn-überhaupt-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 13:58:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/68274.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Mar 2004 14:59:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to richedit - wie kann ich das denn überhaupt erstellen? on Tue, 16 Mar 2004 14:59:18 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>ich wollte mal ein richedit-feld erstellen und habe folgendes \1:</p>
<pre><code class="language-cpp">#include &lt;windows.h&gt;
#include &lt;richedit.h&gt;

LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);

[...]

LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	HWND	hRichEdit;

	switch (message)
	{
	case WM_CREATE:
		hRichEdit = CreateWindow(RICHEDIT_CLASS, &quot;blabliblu&quot;, WS_CHILD | WS_VISIBLE | WS_BORDER, 20, 20, 300, 200, hWnd, (HMENU)1, ((LPCREATESTRUCT)lParam)-&gt;hInstance, NULL);
		return 0;

	case WM_DESTROY:
		PostQuitMessage(0);
		return 0;
	}

	return DefWindowProc(hWnd, message, wParam, lParam);
}
</code></pre>
<p>ich habe also bei CreateWindow einfach beim klassennamen &quot;edit&quot; durch RICHEDIT_CLASS ersetzt. allerdings wird gar nichts angezeigt, aber wieso?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/481793</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/481793</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Tue, 16 Mar 2004 14:59:18 GMT</pubDate></item><item><title><![CDATA[Reply to richedit - wie kann ich das denn überhaupt erstellen? on Tue, 16 Mar 2004 15:09:34 GMT]]></title><description><![CDATA[<p>Bin mir nicht ganz sicher, aber muss man nicht vorher <a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrols.asp" rel="nofollow">InitCommonControls</a>(<a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrolsex.asp" rel="nofollow">Ex</a>) aufrufen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/481806</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/481806</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Tue, 16 Mar 2004 15:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to richedit - wie kann ich das denn überhaupt erstellen? on Tue, 16 Mar 2004 15:09:57 GMT]]></title><description><![CDATA[<p>du musst erst die &quot;riched32.dll&quot; laden siehe<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/richedit/richeditcontrols/aboutricheditcontrols.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/richedit/richeditcontrols/aboutricheditcontrols.asp</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/481807</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/481807</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 16 Mar 2004 15:09:57 GMT</pubDate></item><item><title><![CDATA[Reply to richedit - wie kann ich das denn überhaupt erstellen? on Tue, 16 Mar 2004 15:10:59 GMT]]></title><description><![CDATA[<p>flenders schrieb:</p>
<blockquote>
<p>Bin mir nicht ganz sicher, aber muss man nicht vorher <a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrols.asp" rel="nofollow">InitCommonControls</a>(<a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrolsex.asp" rel="nofollow">Ex</a>) aufrufen?</p>
</blockquote>
<p>ist kein commoncontrol</p>
]]></description><link>https://www.c-plusplus.net/forum/post/481809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/481809</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 16 Mar 2004 15:10:59 GMT</pubDate></item><item><title><![CDATA[Reply to richedit - wie kann ich das denn überhaupt erstellen? on Tue, 16 Mar 2004 15:11:15 GMT]]></title><description><![CDATA[<p>ok, dann lag ich offenbar doch falsch <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/481811</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/481811</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Tue, 16 Mar 2004 15:11:15 GMT</pubDate></item><item><title><![CDATA[Reply to richedit - wie kann ich das denn überhaupt erstellen? on Tue, 16 Mar 2004 15:21:37 GMT]]></title><description><![CDATA[<p>alles klar, danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/481833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/481833</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Tue, 16 Mar 2004 15:21:37 GMT</pubDate></item></channel></rss>