<?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[String an Dialogbox senden]]></title><description><![CDATA[<p>Ich möchte daß beim Aufruf einer Dialogbox im Eingabefeld bereits ein Text steht. Ich habe das mit Sendmessage und Sendigtiemmessage in Verbindung mit CB_Addstring und CB_INSERTString probiert. Das klappt aber nicht</p>
<pre><code>SendMessage(hDlg, IDC_EDIT1, CB_ADDSTRING, (LPARAM) (LPCTSTR) &quot;text----&quot;);
SendDlgItemMessage (hDlg, IDC_EDIT1, CB_ADDSTRING, 0, (LPARAM) (LPCTSTR) &quot;text----&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/97938/string-an-dialogbox-senden</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 16:35:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/97938.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Jan 2005 02:21:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to String an Dialogbox senden on Sat, 15 Jan 2005 02:21:42 GMT]]></title><description><![CDATA[<p>Ich möchte daß beim Aufruf einer Dialogbox im Eingabefeld bereits ein Text steht. Ich habe das mit Sendmessage und Sendigtiemmessage in Verbindung mit CB_Addstring und CB_INSERTString probiert. Das klappt aber nicht</p>
<pre><code>SendMessage(hDlg, IDC_EDIT1, CB_ADDSTRING, (LPARAM) (LPCTSTR) &quot;text----&quot;);
SendDlgItemMessage (hDlg, IDC_EDIT1, CB_ADDSTRING, 0, (LPARAM) (LPCTSTR) &quot;text----&quot;);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/696852</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696852</guid><dc:creator><![CDATA[mww]]></dc:creator><pubDate>Sat, 15 Jan 2005 02:21:42 GMT</pubDate></item><item><title><![CDATA[Reply to String an Dialogbox senden on Sat, 15 Jan 2005 02:27:30 GMT]]></title><description><![CDATA[<p>benutz die suche. diese frage wird langsam echt langweilig</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696857</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696857</guid><dc:creator><![CDATA[CB_ADDSTRING]]></dc:creator><pubDate>Sat, 15 Jan 2005 02:27:30 GMT</pubDate></item><item><title><![CDATA[Reply to String an Dialogbox senden on Sat, 15 Jan 2005 02:29:12 GMT]]></title><description><![CDATA[<p>danke für die produktive Antwort.<br />
SendDlgItemText wäre als Antwort kürzer gewesen !!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696859</guid><dc:creator><![CDATA[mww]]></dc:creator><pubDate>Sat, 15 Jan 2005 02:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to String an Dialogbox senden on Sat, 15 Jan 2005 10:49:28 GMT]]></title><description><![CDATA[<p><strong>Set</strong>DlgitemText oder <strong>Send</strong>Dlgitemmessage <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Versteh das doch - die übliche Konversation geht so:</p>
<p>&quot;Wie kann ich...&quot;<br />
&quot;SetDlgItemText&quot;<br />
&quot;MFC Stürzt ab. Wie geht das denn?&quot;<br />
&quot;Was heißt 'MFC stürzt ab'?&quot;<br />
&quot;Na stürzt ab. So'n komisches Assert&quot;<br />
&quot;Du kannst das erst in OnInitDialog machen&quot;<br />
&quot;OnInitDialog?&quot;</p>
<p>usw.</p>
<p>Und jetzt stell dir noch vor, so ein hilfsbereiter ist ein Anhänger von Freiheiten Möglichkeite und Alternativen (&quot;oder du nimmst den Wizard, um eine CEdit-Varioable zuzuordnen, oder einen CString und arbeitest mit UpdateData&quot; und &quot;Es sei den der Dialog ist nicht Modal, dann in ONCreate&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/696940</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/696940</guid><dc:creator><![CDATA[peterchen]]></dc:creator><pubDate>Sat, 15 Jan 2005 10:49:28 GMT</pubDate></item></channel></rss>