<?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[was habe ich übersehen]]></title><description><![CDATA[<p>Hallo,<br />
Ich habe ein &quot;Programm&quot; geschrieben das 3 Texte(kein Problem) und 3 Editfenster anzeigen soll. Die bekam ich dann auch angezeigt aber nach einiger Zeit experimentieren hab ich gemerkt die sind weg! also hab ich alles rückgängig gemacht bis sie wieder da sein SOLLTEN . Aber sie sind weg!!!<br />
Weiß jemand was ich falsch gemacht habe???</p>
<pre><code class="language-cpp">LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
        HDC hdc;
        PAINTSTRUCT ps;
        RECT rect;        
        static HWND hwndEdit1, hwndEdit2, hwndEdit3;

    switch (message)                  /* handle the messages */
    {
        case WM_CREATE:
             hwndEdit1= CreateWindow (TEXT (&quot;edit1&quot;), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL , 0, 0, 200, 100, hwnd, (HMENU) ID_EDIT1,((LPCREATESTRUCT) lParam)-&gt; hInstance, NULL) ;
			 hwndEdit2= CreateWindow (TEXT (&quot;edit2&quot;), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL , 0, 0, 200, 100, hwnd, (HMENU) ID_EDIT2,((LPCREATESTRUCT) lParam)-&gt; hInstance, NULL) ;
			 hwndEdit3= CreateWindow (TEXT (&quot;edit3&quot;), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL , 0, 0, 200, 100, hwnd, (HMENU) ID_EDIT3,((LPCREATESTRUCT) lParam)-&gt; hInstance, NULL) ;
			 return 0;

        case WM_PAINT:
             hdc = BeginPaint (hwnd, &amp;ps);
             GetClientRect (hwnd, &amp;rect);

             TextOut (hdc, 50, 10, TEXT(&quot;v =&quot;),3);
			 TextOut (hdc, 50, 35, TEXT(&quot;s =&quot;),3);
			 TextOut (hdc, 50, 60, TEXT(&quot;t =&quot;),3);

             EndPaint (hwnd, &amp;ps);

             return 0;     

        case WM_SIZE:
             MoveWindow (hwndEdit1, 100, 10, 50, 20 ,TRUE) ;
			 MoveWindow (hwndEdit2, 100, 35, 50, 20 ,TRUE) ;
			 MoveWindow (hwndEdit3, 100, 60, 50, 20 ,TRUE) ;
             return 0;

        case WM_DESTROY:
            PostQuitMessage (0);       /* send a WM_QUIT to the message queue */
            return 0;
    }

    return DefWindowProc (hwnd, message, wParam, lParam);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/176835/was-habe-ich-übersehen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 19:39:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/176835.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Mar 2007 16:18:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to was habe ich übersehen on Sun, 25 Mar 2007 16:18:23 GMT]]></title><description><![CDATA[<p>Hallo,<br />
Ich habe ein &quot;Programm&quot; geschrieben das 3 Texte(kein Problem) und 3 Editfenster anzeigen soll. Die bekam ich dann auch angezeigt aber nach einiger Zeit experimentieren hab ich gemerkt die sind weg! also hab ich alles rückgängig gemacht bis sie wieder da sein SOLLTEN . Aber sie sind weg!!!<br />
Weiß jemand was ich falsch gemacht habe???</p>
<pre><code class="language-cpp">LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
        HDC hdc;
        PAINTSTRUCT ps;
        RECT rect;        
        static HWND hwndEdit1, hwndEdit2, hwndEdit3;

    switch (message)                  /* handle the messages */
    {
        case WM_CREATE:
             hwndEdit1= CreateWindow (TEXT (&quot;edit1&quot;), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL , 0, 0, 200, 100, hwnd, (HMENU) ID_EDIT1,((LPCREATESTRUCT) lParam)-&gt; hInstance, NULL) ;
			 hwndEdit2= CreateWindow (TEXT (&quot;edit2&quot;), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL , 0, 0, 200, 100, hwnd, (HMENU) ID_EDIT2,((LPCREATESTRUCT) lParam)-&gt; hInstance, NULL) ;
			 hwndEdit3= CreateWindow (TEXT (&quot;edit3&quot;), NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL , 0, 0, 200, 100, hwnd, (HMENU) ID_EDIT3,((LPCREATESTRUCT) lParam)-&gt; hInstance, NULL) ;
			 return 0;

        case WM_PAINT:
             hdc = BeginPaint (hwnd, &amp;ps);
             GetClientRect (hwnd, &amp;rect);

             TextOut (hdc, 50, 10, TEXT(&quot;v =&quot;),3);
			 TextOut (hdc, 50, 35, TEXT(&quot;s =&quot;),3);
			 TextOut (hdc, 50, 60, TEXT(&quot;t =&quot;),3);

             EndPaint (hwnd, &amp;ps);

             return 0;     

        case WM_SIZE:
             MoveWindow (hwndEdit1, 100, 10, 50, 20 ,TRUE) ;
			 MoveWindow (hwndEdit2, 100, 35, 50, 20 ,TRUE) ;
			 MoveWindow (hwndEdit3, 100, 60, 50, 20 ,TRUE) ;
             return 0;

        case WM_DESTROY:
            PostQuitMessage (0);       /* send a WM_QUIT to the message queue */
            return 0;
    }

    return DefWindowProc (hwnd, message, wParam, lParam);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1252317</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1252317</guid><dc:creator><![CDATA[noha_391]]></dc:creator><pubDate>Sun, 25 Mar 2007 16:18:23 GMT</pubDate></item><item><title><![CDATA[Reply to was habe ich übersehen on Sun, 25 Mar 2007 17:08:53 GMT]]></title><description><![CDATA[<p>TEXT (&quot;edit1&quot;) gibt es nicht ... heißt immer TEXT(&quot;edit&quot;) und das selbe bei TEXT (&quot;edit2&quot;) usw ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1252352</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1252352</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Sun, 25 Mar 2007 17:08:53 GMT</pubDate></item><item><title><![CDATA[Reply to was habe ich übersehen on Sun, 25 Mar 2007 17:52:46 GMT]]></title><description><![CDATA[<p>Danke für deine Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1252384</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1252384</guid><dc:creator><![CDATA[noha_391]]></dc:creator><pubDate>Sun, 25 Mar 2007 17:52:46 GMT</pubDate></item><item><title><![CDATA[Reply to was habe ich übersehen on Sun, 25 Mar 2007 19:25:20 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-403.html" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1252483</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1252483</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Sun, 25 Mar 2007 19:25:20 GMT</pubDate></item></channel></rss>