<?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[Anfängerproblem: Kann nichts in Edit-Control schreiben]]></title><description><![CDATA[<p>Hallo alle zusammen,</p>
<p>ich portier mich gerade von Java auf C++ und hab ein wahrscheinlich simples Problem.<br />
Ich will ein normales Edit-Feld verwenden.<br />
Source:</p>
<p>int APIENTRY WinMain(HINSTANCE hInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpCmdLine,<br />
int nCmdShow )<br />
{</p>
<p>HWND hWnd;<br />
hWnd = CreateWindow(<br />
&quot;EDIT&quot;,&quot;TEST&quot;,WS_VISIBLE,<br />
0, 0, 100, 100,NULL, NULL, hInstance, NULL);</p>
<p>MSG msg;<br />
while (GetMessage(&amp;msg, NULL, NULL, NULL)) {<br />
DispatchMessage(&amp;msg);<br />
}</p>
<p>return 0;<br />
}</p>
<p>Also eigentlich ziemlich simpel.</p>
<p>Nun lässt mich das Feld zwar kopieren, einfügen, markieren, löschen, ausschneiden, entfernen, aber keine zeichen eintippen.<br />
Was fehlt mir denn dazu noch?</p>
<p>Viele Grüße!</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/111002/anfängerproblem-kann-nichts-in-edit-control-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 00:32:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/111002.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 May 2005 17:25:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anfängerproblem: Kann nichts in Edit-Control schreiben on Thu, 26 May 2005 17:25:51 GMT]]></title><description><![CDATA[<p>Hallo alle zusammen,</p>
<p>ich portier mich gerade von Java auf C++ und hab ein wahrscheinlich simples Problem.<br />
Ich will ein normales Edit-Feld verwenden.<br />
Source:</p>
<p>int APIENTRY WinMain(HINSTANCE hInstance,<br />
HINSTANCE hPrevInstance,<br />
LPSTR lpCmdLine,<br />
int nCmdShow )<br />
{</p>
<p>HWND hWnd;<br />
hWnd = CreateWindow(<br />
&quot;EDIT&quot;,&quot;TEST&quot;,WS_VISIBLE,<br />
0, 0, 100, 100,NULL, NULL, hInstance, NULL);</p>
<p>MSG msg;<br />
while (GetMessage(&amp;msg, NULL, NULL, NULL)) {<br />
DispatchMessage(&amp;msg);<br />
}</p>
<p>return 0;<br />
}</p>
<p>Also eigentlich ziemlich simpel.</p>
<p>Nun lässt mich das Feld zwar kopieren, einfügen, markieren, löschen, ausschneiden, entfernen, aber keine zeichen eintippen.<br />
Was fehlt mir denn dazu noch?</p>
<p>Viele Grüße!</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796789</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796789</guid><dc:creator><![CDATA[fehlersucher]]></dc:creator><pubDate>Thu, 26 May 2005 17:25:51 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerproblem: Kann nichts in Edit-Control schreiben on Thu, 26 May 2005 17:50:32 GMT]]></title><description><![CDATA[<p>Dir fehlt noch das TranslateMessage(&amp;msg); vor DispatchMessage in der Message-Loop.<br />
Allerdings ist es nicht wirklich gut ein Edit direkt als Hauptfenster zu nehmen - aber bist ja wohl erstmal nur bissl am rumspielen. Ein paar Tutorials wären aber sicher empfehlenswert: z.B. <a href="http://www.win-api.de/tutorials.php" rel="nofollow">http://www.win-api.de/tutorials.php</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/796803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796803</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Thu, 26 May 2005 17:50:32 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerproblem: Kann nichts in Edit-Control schreiben on Thu, 26 May 2005 18:02:55 GMT]]></title><description><![CDATA[<p>kleine anmerkung: du hast WS_CHILD bei WS_VISIBLE vergessen, also du brauchst</p>
<p>WS_CHILD | WS_VISIBLE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796812</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796812</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Thu, 26 May 2005 18:02:55 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerproblem: Kann nichts in Edit-Control schreiben on Thu, 26 May 2005 19:57:17 GMT]]></title><description><![CDATA[<p>Danke, es lag am TranslateMessage.</p>
<p>Ich hab das WS_CHILD nicht vergessen. Nur um den Fehler mit dem EDIT-Controll zu finden hab ich nur ein EDIT-Fenster mit einem Rahmen erstellt. (Das passiert, wenn man das WS_CHILD weglässt ;-))</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796870</guid><dc:creator><![CDATA[fehlersucher]]></dc:creator><pubDate>Thu, 26 May 2005 19:57:17 GMT</pubDate></item></channel></rss>