<?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[Eingabebegrenzung -&amp;gt; Editfeld]]></title><description><![CDATA[<p>Hallo, ich habe vor kurzem mit C++ angefangen und habe mich jetzt zu GUI vorgearbeitet. Was mir allerdings fehlt ist eine Begrenzung eines eingabefeldes. Also das z.B. nur 12 Zeichen eingegeben werden können. (für Loginname+Passwort).</p>
<p>Hier das Feld um das es sich handelt:<br />
hLeditN=CreateWindowEx(WS_EX_CLIENTEDGE,&quot;edit&quot;,&quot;&quot;,WS_CHILD|ES_AUTOHSCROLL|WS_VISIBLE,170, 50, 180, 20,hwnd,NULL,((LPCREATESTRUCT) lParam) -&gt; hInstance,NULL);</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/241689/eingabebegrenzung-gt-editfeld</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Apr 2026 04:07:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/241689.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 May 2009 17:02:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eingabebegrenzung -&amp;gt; Editfeld on Sun, 24 May 2009 17:02:33 GMT]]></title><description><![CDATA[<p>Hallo, ich habe vor kurzem mit C++ angefangen und habe mich jetzt zu GUI vorgearbeitet. Was mir allerdings fehlt ist eine Begrenzung eines eingabefeldes. Also das z.B. nur 12 Zeichen eingegeben werden können. (für Loginname+Passwort).</p>
<p>Hier das Feld um das es sich handelt:<br />
hLeditN=CreateWindowEx(WS_EX_CLIENTEDGE,&quot;edit&quot;,&quot;&quot;,WS_CHILD|ES_AUTOHSCROLL|WS_VISIBLE,170, 50, 180, 20,hwnd,NULL,((LPCREATESTRUCT) lParam) -&gt; hInstance,NULL);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1715037</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1715037</guid><dc:creator><![CDATA[Zuyas]]></dc:creator><pubDate>Sun, 24 May 2009 17:02:33 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabebegrenzung -&amp;gt; Editfeld on Sun, 24 May 2009 18:47:17 GMT]]></title><description><![CDATA[<p>EM_LIMITTEXT<br />
<a href="http://msdn.microsoft.com/en-us/library/bb761607(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb761607(VS.85).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1715075</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1715075</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sun, 24 May 2009 18:47:17 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabebegrenzung -&amp;gt; Editfeld on Sun, 24 May 2009 23:24:20 GMT]]></title><description><![CDATA[<p>Danke für die Antwort!<br />
Da ich, wie ich ja schon gesagt hab, leider noch ein Anfänger auf dem Gebiet bin weiß ich leider nicht wo ich das unterbringen muss <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>Wenn ich es hier:<br />
hLeditN=CreateWindowEx(WS_EX_CLIENTEDGE,&quot;edit&quot;,&quot;&quot;,WS_CHILD|ES_AUTOHSCROLL|WS_VISIBLE|EM_LIMITTEXT,170, 50, 180, 20,hwnd,NULL,((LPCREATESTRUCT) lParam) -&gt; hInstance,NULL);</p>
<p>unterbringe dann wird die Eingabe in dem Feld nur zentriert (was nicht mein Ziel war). Also würd ich mal schätzen dass ich es irgendwo anders unterbringen muss und irgendwo muss ich ja noch angeben wie lang es denn auch maximal werden darf.</p>
<p>Könnte mir vllt noch wer ein Beispiel schicken?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1715141</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1715141</guid><dc:creator><![CDATA[Zuyas]]></dc:creator><pubDate>Sun, 24 May 2009 23:24:20 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabebegrenzung -&amp;gt; Editfeld on Mon, 25 May 2009 00:45:28 GMT]]></title><description><![CDATA[<p><code>SendMessage( hLeditN, EM_LIMITTEXT, 123, 0 );</code><br />
Hier auch der entsprechende Eintrag in der MSDN: <a href="http://msdn.microsoft.com/en-us/library/bb761607.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb761607.aspx</a>.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1715145</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1715145</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Mon, 25 May 2009 00:45:28 GMT</pubDate></item><item><title><![CDATA[Reply to Eingabebegrenzung -&amp;gt; Editfeld on Mon, 25 May 2009 12:30:35 GMT]]></title><description><![CDATA[<p>Vielen Dank Euch beiden! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1715395</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1715395</guid><dc:creator><![CDATA[Zuyas]]></dc:creator><pubDate>Mon, 25 May 2009 12:30:35 GMT</pubDate></item></channel></rss>