<?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[edit control wertebereich]]></title><description><![CDATA[<p>jetzt muss ich auch mal was wissen</p>
<p>ich hab ein editcontrol feld</p>
<p>number = true</p>
<p>wie lege ich den wertebereich fest???</p>
<p>z.b. 1 - 5000</p>
<p>hmmmm</p>
<p>ratlos</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/69942/edit-control-wertebereich</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 16:56:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/69942.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Apr 2004 08:20:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 08:20:58 GMT]]></title><description><![CDATA[<p>jetzt muss ich auch mal was wissen</p>
<p>ich hab ein editcontrol feld</p>
<p>number = true</p>
<p>wie lege ich den wertebereich fest???</p>
<p>z.b. 1 - 5000</p>
<p>hmmmm</p>
<p>ratlos</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493599</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493599</guid><dc:creator><![CDATA[fletscheru]]></dc:creator><pubDate>Fri, 02 Apr 2004 08:20:58 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 08:26:02 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Du fügst im &quot;DoDataExchange(...)</p>
<p>nach der Zeile</p>
<pre><code class="language-cpp">DDX_Text(pDX, IDC_EDIT1, m_wert);
</code></pre>
<p>die Zeile</p>
<pre><code class="language-cpp">DDV_MinMaxInt(pDX, m_wert, 1, 5000);
</code></pre>
<p>ein.</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493600</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493600</guid><dc:creator><![CDATA[dunkel18]]></dc:creator><pubDate>Fri, 02 Apr 2004 08:26:02 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 08:40:18 GMT]]></title><description><![CDATA[<p>hmmm</p>
<p>net so ganz gut</p>
<p>weil ich hab z.b. 1 - 50</p>
<p>jetzt gebe ich 51 ein. und drucke auf meinen ADD button</p>
<p>jetzt kommt die meldung</p>
<p>( only integer between 1 and 50 )</p>
<p>naja dann uebertreagt der dann doch die 51 lol</p>
<p>jetzt druecke ich auf meinen exit button</p>
<p>kann das prog jetzt nicht schliessen bis ich eine zahl 1 - 50 eingegeben habe!! lol</p>
<p>naja ich kann zwar immer bei ADD button fkt ueberpruefen und darauf hinweisen</p>
<p>dachte eigentlich dass mfc das automatisch machen kann</p>
<p>z.b. ich gebe 51 ein und er macht einen default wert</p>
<p>und was ist der max wert also &quot;unbegrenzt&quot;???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493607</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493607</guid><dc:creator><![CDATA[fletscheru]]></dc:creator><pubDate>Fri, 02 Apr 2004 08:40:18 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 08:56:29 GMT]]></title><description><![CDATA[<p>Also:</p>
<p>Wenn Du während deines Dialoges die Werte übernimmst,<br />
mußt Du sie selber prüfen indem Du beispielsweise<br />
eine OnKillFocus-Funktion hinzufügst und dort die<br />
Werte setzt:</p>
<pre><code class="language-cpp">void CBlaBla::OnKillFocusWert()
{
  UpdateData(TRUE);

  if (m_wert&gt;50)
      m_wert=50;

  if (m_wert&lt;0)
      m_wert=0;

  UpdateData(FALSE);

}
</code></pre>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493617</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493617</guid><dc:creator><![CDATA[dunkel18]]></dc:creator><pubDate>Fri, 02 Apr 2004 08:56:29 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 09:00:17 GMT]]></title><description><![CDATA[<p>habs jetzt doch anders gemacht und bei ADD button folgendes gemacht</p>
<p>Ich brauch nur eine zahl 1 oder greosser</p>
<pre><code class="language-cpp">if( m_iAdd_times &lt; 1 )
{

    m_iAdd_times = 1;
    SetDlgItemText( IDC_EDIT_Add_Times , &quot;1&quot; ) ;

}
</code></pre>
<p>ich glaub damit kann ich leben</p>
<p>aber trozdem vielen dank fuer deine hilfreichen tips immer</p>
<p>achja und bei ner listbox</p>
<p>wie kann ich erreichen das er durch einen doppelcklick den string uebertragt??</p>
<p>also ich clicke doppelt und er nimmt den string und uebertreagt ihn in meine andere liste.</p>
<p>merci</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493622</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493622</guid><dc:creator><![CDATA[fletscheru]]></dc:creator><pubDate>Fri, 02 Apr 2004 09:00:17 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 09:12:49 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>wieder Behandlungsroutine hinzufügen:<br />
Doppelklick!</p>
<p>und dann z. B.</p>
<pre><code class="language-cpp">CString m_text;
int a=m_list1.GetCurSel();
m_list1.GetText(a, m_text);
m_list2.AddString(m_text);
</code></pre>
<p>Sicherheitsabfragen nicht vergessen!</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493633</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493633</guid><dc:creator><![CDATA[dunkel18]]></dc:creator><pubDate>Fri, 02 Apr 2004 09:12:49 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 09:38:27 GMT]]></title><description><![CDATA[<p>meinst du ich muss doppel cklicken auf meine listbox und dann heisst es ja</p>
<p>BnclickedMeineListbox</p>
<p>und ich muss umanendern in BnDoubleClick</p>
<p>und dann den code rein</p>
<p>oder in der DoDataExchange</p>
<p>unter meine zeile</p>
<p>DDX_Control(pDX, IDC_LIST_all_tests, m_all_tests);</p>
<p>und dann da noch etwas editieren???? wie biem wertebereich auch schon</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493642</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493642</guid><dc:creator><![CDATA[fletscheru]]></dc:creator><pubDate>Fri, 02 Apr 2004 09:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 09:44:06 GMT]]></title><description><![CDATA[<p>...</p>
<p>Behandlungsroutine LBN_DBLCLK hinzufügen.</p>
<p>VC++ 6.0 über den Klassenassistenten<br />
VS <a href="http://2003.NET" rel="nofollow">2003.NET</a> über Dialog (rechte Moustaste) Ereignishandler ...</p>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/493650</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493650</guid><dc:creator><![CDATA[dunkel18]]></dc:creator><pubDate>Fri, 02 Apr 2004 09:44:06 GMT</pubDate></item><item><title><![CDATA[Reply to edit control wertebereich on Fri, 02 Apr 2004 10:49:03 GMT]]></title><description><![CDATA[<p>du bist der dude</p>
<p>hey danke hat super geklappt</p>
<p>endlich weiss ich wie ich die events einfuege</p>
<p>habs per hand versucht<br />
hat net geklappt</p>
<p>mit dem event handler ist das schon eine feine sache</p>
<p>merci <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/493702</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/493702</guid><dc:creator><![CDATA[fletscheru]]></dc:creator><pubDate>Fri, 02 Apr 2004 10:49:03 GMT</pubDate></item></channel></rss>