<?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[warum die .exe datai läuft langsamer als früher?]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab ein neues win-console Project in meiner elemaligen Solution eingefügt, um die Algorithmen zu testen und &quot;cout&quot; zu benutzen. aber warum die .exe datai läuft deutlich langsamer als früher?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/223580/warum-die-exe-datai-läuft-langsamer-als-früher</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 07:11:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/223580.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Sep 2008 20:01:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to warum die .exe datai läuft langsamer als früher? on Sat, 27 Sep 2008 20:01:26 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich hab ein neues win-console Project in meiner elemaligen Solution eingefügt, um die Algorithmen zu testen und &quot;cout&quot; zu benutzen. aber warum die .exe datai läuft deutlich langsamer als früher?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1589251</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1589251</guid><dc:creator><![CDATA[damo]]></dc:creator><pubDate>Sat, 27 Sep 2008 20:01:26 GMT</pubDate></item><item><title><![CDATA[Reply to warum die .exe datai läuft langsamer als früher? on Sat, 27 Sep 2008 21:11:50 GMT]]></title><description><![CDATA[<p>ich hab 81 edit-controls in einem Dialog-control.<br />
Wenn ich &quot;default :&quot; nehme, wird dann mein Programm langsamer!!! aber warum?</p>
<pre><code>LRESULT CALLBACK EditDLGProc(HWND hwnd, UINT message,WPARAM wParam, LPARAM lParam)
{
    int id = GetWindowLong(hwnd, GWL_ID);
    HWND parent = GetParent(hwnd);
    switch (message)
     {
       case WM_KEYDOWN :
         if (wParam == VK_LEFT)
          {
            SetFocus(GetDlgItem(parent, (id+80)%81));
            SendMessage(GetDlgItem(parent, (id+80)%81), EM_SETSEL, 0, -1);
          }
         if (wParam == VK_RIGHT)
           SetFocus(GetDlgItem(parent, (id+1)%81));
         if (wParam == VK_UP)
          {
            SetFocus(GetDlgItem(parent, (id+72)%81));
            SendMessage(GetDlgItem(parent, (id+72)%81), EM_SETSEL, 0, -1);
          }
         if (wParam == VK_DOWN)
          {
            SetFocus(GetDlgItem(parent, (id+9)%81));
            SendMessage(GetDlgItem(parent, (id+9)%81), EM_SETSEL, 0, -1);
          }
/**************************************************************************
         // default :   --- viel langsamer
***************************************************************************/
         SendMessage(GetDlgItem(parent, (id+1)%81), EM_SETSEL, 0, -1);
         break;
     }
    return CallWindowProc(beforeEdit[id],  // parent WndProc
                                         hwnd, message, wParam, lParam);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1589275</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1589275</guid><dc:creator><![CDATA[damo]]></dc:creator><pubDate>Sat, 27 Sep 2008 21:11:50 GMT</pubDate></item><item><title><![CDATA[Reply to warum die .exe datai läuft langsamer als früher? on Sun, 28 Sep 2008 07:19:27 GMT]]></title><description><![CDATA[<p>Also dein default sitzt schon mal an der falschen Stelle, aber ich würde es ohnehin so machen:</p>
<pre><code class="language-cpp">LRESULT CALLBACK EditDLGProc(HWND hwnd, UINT message,WPARAM wParam, LPARAM lParam)
{
    int id = GetWindowLong(hwnd, GWL_ID);
    HWND parent = GetParent(hwnd);
    switch (message)
     { 
       case WM_KEYDOWN :
         if (wParam == VK_LEFT){
            SetFocus(GetDlgItem(parent, (id+80)%81));
            SendMessage(GetDlgItem(parent, (id+80)%81), EM_SETSEL, 0, -1);
          }else if (wParam == VK_RIGHT){
           SetFocus(GetDlgItem(parent, (id+1)%81)); 
          }else if wParam == VK_UP){
            SetFocus(GetDlgItem(parent, (id+72)%81));
            SendMessage(GetDlgItem(parent, (id+72)%81), EM_SETSEL, 0, -1);
          }else{
//            dein default wird jetzt hier verarbeitet
          }
          break;
//          default :   //kannste dir sparen
     }
    return CallWindowProc(beforeEdit[id],hwnd, message, wParam, lParam);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1589438</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1589438</guid><dc:creator><![CDATA[winapi noob]]></dc:creator><pubDate>Sun, 28 Sep 2008 07:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to warum die .exe datai läuft langsamer als früher? on Sun, 28 Sep 2008 09:00:18 GMT]]></title><description><![CDATA[<p>ja, richtig. danke schön.</p>
<p>ich habe bemerkt, dass du &quot;if...else if...&quot; benutzst, frage:</p>
<p>welche Unterschied gibt es zwischen &quot;if...if...&quot; und &quot;if...else if...&quot; und &quot;switch&quot;?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1589473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1589473</guid><dc:creator><![CDATA[damo1]]></dc:creator><pubDate>Sun, 28 Sep 2008 09:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to warum die .exe datai läuft langsamer als früher? on Sun, 28 Sep 2008 13:14:57 GMT]]></title><description><![CDATA[<p>if(a)<br />
....</p>
<p>if(b)<br />
....</p>
<p>&lt;-&gt; Unterschied</p>
<p>if(a)<br />
....<br />
else if (b)<br />
....</p>
<p>entspricht</p>
<p>if(a)<br />
....<br />
if(b &amp;&amp; !a)<br />
....</p>
<p>Ein switch ist ganz was anderes</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1589649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1589649</guid><dc:creator><![CDATA[Listing]]></dc:creator><pubDate>Sun, 28 Sep 2008 13:14:57 GMT</pubDate></item></channel></rss>