<?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[hi eine frage zu CListCtrl]]></title><description><![CDATA[<p>welche Msg muss ich abfangen damit ich rausfinde welches item der Benutzer in meiner Liste angeclickt hat?</p>
<p>dank im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/64615/hi-eine-frage-zu-clistctrl</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 00:09:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/64615.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Feb 2004 10:57:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to hi eine frage zu CListCtrl on Thu, 12 Feb 2004 10:57:48 GMT]]></title><description><![CDATA[<p>welche Msg muss ich abfangen damit ich rausfinde welches item der Benutzer in meiner Liste angeclickt hat?</p>
<p>dank im voraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/457596</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457596</guid><dc:creator><![CDATA[T1c4L]]></dc:creator><pubDate>Thu, 12 Feb 2004 10:57:48 GMT</pubDate></item><item><title><![CDATA[Reply to hi eine frage zu CListCtrl on Thu, 12 Feb 2004 11:07:50 GMT]]></title><description><![CDATA[<p>Ich kann dir leider keine genaue Antwort darauf geben, aber vielleicht hilft dir das heir weiter...</p>
<pre><code class="language-cpp">void CListview_testDlg::OnButton3() 
{
	// TODO: Code für die Behandlungsroutine der Steuerelement-Benachrichtigung hier einfügen

	CListCtrl* pListCtrl = (CListCtrl*) GetDlgItem(IDC_LIST);
	ASSERT(pListCtrl != NULL);

	POSITION pos = pListCtrl-&gt;GetFirstSelectedItemPosition();
	if (pos == NULL)
	   MessageBox(&quot;No items were selected!\n&quot;);
	else
	{
	  while (pos)
	  {
		 int nItem = pListCtrl-&gt;GetNextSelectedItem(pos);
		 TRACE(&quot;Item %d was selected!\n&quot;, nItem);
		 // you could do your own processing on nItem here
	  }
	}
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/457604</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457604</guid><dc:creator><![CDATA[ExtremeSnail]]></dc:creator><pubDate>Thu, 12 Feb 2004 11:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to hi eine frage zu CListCtrl on Thu, 12 Feb 2004 11:20:36 GMT]]></title><description><![CDATA[<p>kannst du mir auch sagen zur welcher notfication ist das einsetzen könnte?<br />
z.b. immer wenn ein Item angeklickt wurde....</p>
<p>bei LVN_ITEMCHANGED greift er 3 mal drauf zu statt nur einmal wenn man das Item anclickt.... ;-.\ <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>
]]></description><link>https://www.c-plusplus.net/forum/post/457618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457618</guid><dc:creator><![CDATA[T1c4L]]></dc:creator><pubDate>Thu, 12 Feb 2004 11:20:36 GMT</pubDate></item></channel></rss>