<?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[Editbox Inhalt?]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>Ich möchte gernen den Inhalt einer Edit box in einem Strin gspechern<br />
aber ich komme nicht zurecht.<br />
ich habe folgendes versucht:</p>
<pre><code>char T_Edit[1024];
.
.
case WM_CREATE:

	hwndCtrl[ID_EDIT]	=CreateWindow (&quot;edit&quot;,NULL
,WS_CHILD|WS_VISIBLE|WS_BORDER|ES_LEFT|ES_AUTOHSCROLL
          ,0,0,0,0,hWnd,(HMENU)ID_EDIT,((LPCREATESTRUCT)lParam)-&gt;hInstance,NULL);

.
.
.
case WM_COMMAND:
	wmId    = LOWORD(wParam); 
	wmEvent = HIWORD(wParam); 
	switch (wmId)
	{
.
.
	case ID_SENDEN:
		GetDlgItemText(hwndCtrl[ID_EDIT],ID_EDIT,E_Text, sizeof(E_Text)); 
		MessageBox(NULL,E_Text,NULL,MB_OK);
		break;
.
.
</code></pre>
<p>aber so funktioniert das nicht.<br />
Muss ichda nochein UpdateData() ausführen wie bei MFC<br />
oder hab ich einen Gedankenfehler ?</p>
<p>Danke für jede Hilfe</p>
<p>Gruss Linus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/109977/editbox-inhalt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 30 Jun 2026 16:40:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/109977.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 May 2005 09:36:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Editbox Inhalt? on Mon, 16 May 2005 09:36:30 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>Ich möchte gernen den Inhalt einer Edit box in einem Strin gspechern<br />
aber ich komme nicht zurecht.<br />
ich habe folgendes versucht:</p>
<pre><code>char T_Edit[1024];
.
.
case WM_CREATE:

	hwndCtrl[ID_EDIT]	=CreateWindow (&quot;edit&quot;,NULL
,WS_CHILD|WS_VISIBLE|WS_BORDER|ES_LEFT|ES_AUTOHSCROLL
          ,0,0,0,0,hWnd,(HMENU)ID_EDIT,((LPCREATESTRUCT)lParam)-&gt;hInstance,NULL);

.
.
.
case WM_COMMAND:
	wmId    = LOWORD(wParam); 
	wmEvent = HIWORD(wParam); 
	switch (wmId)
	{
.
.
	case ID_SENDEN:
		GetDlgItemText(hwndCtrl[ID_EDIT],ID_EDIT,E_Text, sizeof(E_Text)); 
		MessageBox(NULL,E_Text,NULL,MB_OK);
		break;
.
.
</code></pre>
<p>aber so funktioniert das nicht.<br />
Muss ichda nochein UpdateData() ausführen wie bei MFC<br />
oder hab ich einen Gedankenfehler ?</p>
<p>Danke für jede Hilfe</p>
<p>Gruss Linus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/789422</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789422</guid><dc:creator><![CDATA[linus]]></dc:creator><pubDate>Mon, 16 May 2005 09:36:30 GMT</pubDate></item><item><title><![CDATA[Reply to Editbox Inhalt? on Mon, 16 May 2005 12:45:55 GMT]]></title><description><![CDATA[<p>mach doch mit SendMessage und dann EN_GETTEXT...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/789528</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789528</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Mon, 16 May 2005 12:45:55 GMT</pubDate></item><item><title><![CDATA[Reply to Editbox Inhalt? on Mon, 16 May 2005 14:18:37 GMT]]></title><description><![CDATA[<p>HI</p>
<p>Du meintest E<strong>M</strong><em>GETTEXT.<br />
Ich habs jetzt mit GetWindowText() gemacht.<br />
Danke.<br />
Jetzt muss ich nur noch herausfnden wie ich das Feld wieder löschen kann<br />
aber ich weiss jetzt wonach ich suchen muss .<br />
Irgendetwas mit Sendmessage und EM</em>???.</p>
<p>Danke für deine Hilfe<br />
Linus</p>
<p>PS:<br />
Gibt es eine Übersicht über alle Nachrichten für Steuerelemente<br />
so wie zB EM_... oder LBS_.... usw. ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/789547</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789547</guid><dc:creator><![CDATA[linus]]></dc:creator><pubDate>Mon, 16 May 2005 14:18:37 GMT</pubDate></item><item><title><![CDATA[Reply to Editbox Inhalt? on Mon, 16 May 2005 14:40:08 GMT]]></title><description><![CDATA[<p>Vieleicht geht SetWindowTex(...)(?)!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/789597</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789597</guid><dc:creator><![CDATA[Streusselkuchen]]></dc:creator><pubDate>Mon, 16 May 2005 14:40:08 GMT</pubDate></item><item><title><![CDATA[Reply to Editbox Inhalt? on Tue, 17 May 2005 09:43:57 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Jo!danke , Habs auch damit gemacht.</p>
<p>Aber einen Übersicht über alle Windows Messages bzgl der Steuerelemente<br />
wäre vielleicht auch ganz hilfreich (hat nichts mit diesem Problem zu tun)</p>
<p>danke<br />
Linus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/789977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789977</guid><dc:creator><![CDATA[linus]]></dc:creator><pubDate>Tue, 17 May 2005 09:43:57 GMT</pubDate></item><item><title><![CDATA[Reply to Editbox Inhalt? on Tue, 17 May 2005 10:01:08 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/wincontrols.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/wincontrols.asp</a><br />
einfach auf das gewünschte control klicken <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>
]]></description><link>https://www.c-plusplus.net/forum/post/789990</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/789990</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Tue, 17 May 2005 10:01:08 GMT</pubDate></item><item><title><![CDATA[Reply to Editbox Inhalt? on Tue, 17 May 2005 10:52:00 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Genial!</p>
<p>Und ich hab immer nach 'Messages' gesucht statt Controls (Steuerelemente <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>
<p>Danke<br />
Linus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/790025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/790025</guid><dc:creator><![CDATA[linus]]></dc:creator><pubDate>Tue, 17 May 2005 10:52:00 GMT</pubDate></item></channel></rss>