<?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[DoModal geht nicht wegen RichEdit ?]]></title><description><![CDATA[<p>Heiho</p>
<p>ich hab in meiner app ein dialog hinzugefuegt welches in {beim menue klick} mit DoModel aufrufe</p>
<pre><code class="language-cpp">void COwnDoc::OnWatchLog()
{
    CShowLog ShowLogDlg;
    ShowLogDlg.DoModal();
}
</code></pre>
<p>aber sobald ich in dem dialog ein RichEdit2 rein zieh, returnt das DoModal immer -1</p>
<p>edit control, static text sowie buttons geht alles problemlos ?!</p>
<p>ich bin verwirrt - was is da los ?<br />
das RichEdit hat bisher keine variable oder klasse - einfach nur reingezogen und die settings eingestellt</p>
<p>benutz VS 2005 Pro</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/165690/domodal-geht-nicht-wegen-richedit</link><generator>RSS for Node</generator><lastBuildDate>Fri, 26 Jun 2026 03:31:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/165690.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Nov 2006 10:00:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DoModal geht nicht wegen RichEdit ? on Wed, 22 Nov 2006 10:00:38 GMT]]></title><description><![CDATA[<p>Heiho</p>
<p>ich hab in meiner app ein dialog hinzugefuegt welches in {beim menue klick} mit DoModel aufrufe</p>
<pre><code class="language-cpp">void COwnDoc::OnWatchLog()
{
    CShowLog ShowLogDlg;
    ShowLogDlg.DoModal();
}
</code></pre>
<p>aber sobald ich in dem dialog ein RichEdit2 rein zieh, returnt das DoModal immer -1</p>
<p>edit control, static text sowie buttons geht alles problemlos ?!</p>
<p>ich bin verwirrt - was is da los ?<br />
das RichEdit hat bisher keine variable oder klasse - einfach nur reingezogen und die settings eingestellt</p>
<p>benutz VS 2005 Pro</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1179052</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1179052</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Wed, 22 Nov 2006 10:00:38 GMT</pubDate></item><item><title><![CDATA[Reply to DoModal geht nicht wegen RichEdit ? on Wed, 22 Nov 2006 10:03:44 GMT]]></title><description><![CDATA[<p>MSDN schrieb:</p>
<blockquote>
<p><strong>Important</strong> If you are using a rich edit control in a dialog box (regardless whether your application is SDI, MDI, or dialog-based), you must call <strong>AfxInitRichEdit</strong> once before the dialog box is displayed. A typical place to call this function is in your program’s InitInstance member function.</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1179057</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1179057</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Wed, 22 Nov 2006 10:03:44 GMT</pubDate></item><item><title><![CDATA[Reply to DoModal geht nicht wegen RichEdit ? on Wed, 22 Nov 2006 10:08:33 GMT]]></title><description><![CDATA[<p>ups</p>
<p>#duck....wegrenn</p>
<p>danke frau estartu {grad erst durch anderen thread gemerkt das du frau sein, ich entruestet und entsetzt - frauenbild kaputt sein #gg}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1179067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1179067</guid><dc:creator><![CDATA[EXDW]]></dc:creator><pubDate>Wed, 22 Nov 2006 10:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to DoModal geht nicht wegen RichEdit ? on Wed, 22 Nov 2006 11:21:53 GMT]]></title><description><![CDATA[<p>Wobei ich würde &quot;AfxInitRichEdit2&quot; verwenden!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1179126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1179126</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 22 Nov 2006 11:21:53 GMT</pubDate></item></channel></rss>