<?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[Listbox automatisch mitscrollen]]></title><description><![CDATA[<p>Ich füge Daten in eine Listbox ein. Ich möchte das dabei der eingefügte Wert immer zu sehen ist, also die Liste mit herunter gescrollt wird.</p>
<p>Wie mache ich das ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/183570/listbox-automatisch-mitscrollen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 00:59:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/183570.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Jun 2007 09:22:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Listbox automatisch mitscrollen on Wed, 06 Jun 2007 09:22:36 GMT]]></title><description><![CDATA[<p>Ich füge Daten in eine Listbox ein. Ich möchte das dabei der eingefügte Wert immer zu sehen ist, also die Liste mit herunter gescrollt wird.</p>
<p>Wie mache ich das ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1299850</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1299850</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Wed, 06 Jun 2007 09:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox automatisch mitscrollen on Wed, 06 Jun 2007 09:34:11 GMT]]></title><description><![CDATA[<p>glaube die Funktion heißt .EnsureVisible()<br />
Bin mir aber nicht 100% sicher, da es einmal die Lsitbox gibt und das CListCtrl. zu welchem das gehört kann ich im moment nicht sagen, sry.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1299863</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1299863</guid><dc:creator><![CDATA[Uruk-h4j]]></dc:creator><pubDate>Wed, 06 Jun 2007 09:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox automatisch mitscrollen on Wed, 06 Jun 2007 09:36:08 GMT]]></title><description><![CDATA[<p><a href="http://msdn2.microsoft.com/en-us/library/f20ftbd2.aspx" rel="nofollow">CListBox::SetTopIndex</a></p>
<p>EnsureVisible ist nur bei CListCtrl enthalten!</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1299866</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1299866</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Wed, 06 Jun 2007 09:36:08 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox automatisch mitscrollen on Wed, 06 Jun 2007 09:44:36 GMT]]></title><description><![CDATA[<p>Dravere schrieb:</p>
<blockquote>
<p><a href="http://msdn2.microsoft.com/en-us/library/f20ftbd2.aspx" rel="nofollow">CListBox::SetTopIndex</a></p>
</blockquote>
<pre><code class="language-cpp">m_WndListStatus.AddString(message);
	m_WndListStatus.SetTopIndex(m_WndListStatus.GetCount());
</code></pre>
<p>bewirkt bei mir gar nichts. Es wird zumindest nicht nach unten gescrollt.</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1299873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1299873</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Wed, 06 Jun 2007 09:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to Listbox automatisch mitscrollen on Wed, 06 Jun 2007 10:15:30 GMT]]></title><description><![CDATA[<p>pospiech schrieb:</p>
<blockquote>
<p>Dravere schrieb:</p>
<blockquote>
<p><a href="http://msdn2.microsoft.com/en-us/library/f20ftbd2.aspx" rel="nofollow">CListBox::SetTopIndex</a></p>
</blockquote>
<pre><code class="language-cpp">m_WndListStatus.AddString(message);
	m_WndListStatus.SetTopIndex(m_WndListStatus.GetCount());
</code></pre>
<p>bewirkt bei mir gar nichts. Es wird zumindest nicht nach unten gescrollt.</p>
<p>Matthias</p>
</blockquote>
<p>Ich hatte halt erwartet, dass du die MSDN dazu durchlesen würdest! War wohl zuviel Erwartung:</p>
<p>MSDN schrieb:</p>
<blockquote>
<p><strong>nIndex</strong><br />
Specifies the zero-based index of the list-box item.</p>
</blockquote>
<p>Die Zahl, welche du an SetTopIndex übergibst, gibt es als Index nicht, daher wird nix passieren.<br />
Probier es doch mal mit:</p>
<pre><code class="language-cpp">m_WndListStatus.AddString(message);
m_WndListStatus.SetTopIndex(m_WndListStatus.GetCount() - 1);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1299897</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1299897</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Wed, 06 Jun 2007 10:15:30 GMT</pubDate></item></channel></rss>