<?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[welche notification bei einer CListCtrl brauche ich um..]]></title><description><![CDATA[<p>bei einem CLick auf das Item den Item text zu bekommen.</p>
<p>die Prozedur hab ich nur den aufruf kapier ich nicht.</p>
<p>mit LVN_ITEMCHANGED bekomm ich 3xeine notfication....<br />
ich möchte die aber nur einmal haben enn der benutzer auf ein item clickt...<br />
<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="😕"
    /><br />
habt ihr ne ahnung?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/64623/welche-notification-bei-einer-clistctrl-brauche-ich-um</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 01:26:43 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/64623.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Feb 2004 11:28:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to welche notification bei einer CListCtrl brauche ich um.. on Thu, 12 Feb 2004 11:28:26 GMT]]></title><description><![CDATA[<p>bei einem CLick auf das Item den Item text zu bekommen.</p>
<p>die Prozedur hab ich nur den aufruf kapier ich nicht.</p>
<p>mit LVN_ITEMCHANGED bekomm ich 3xeine notfication....<br />
ich möchte die aber nur einmal haben enn der benutzer auf ein item clickt...<br />
<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="😕"
    /><br />
habt ihr ne ahnung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/457621</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457621</guid><dc:creator><![CDATA[T1c4L]]></dc:creator><pubDate>Thu, 12 Feb 2004 11:28:26 GMT</pubDate></item><item><title><![CDATA[Reply to welche notification bei einer CListCtrl brauche ich um.. on Thu, 12 Feb 2004 11:59:47 GMT]]></title><description><![CDATA[<p>[msdn]NM_CLICK (list view) Notification[/msdn]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/457642</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457642</guid><dc:creator><![CDATA[Shlo]]></dc:creator><pubDate>Thu, 12 Feb 2004 11:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to welche notification bei einer CListCtrl brauche ich um.. on Thu, 12 Feb 2004 12:07:28 GMT]]></title><description><![CDATA[<p>geschickt wenn man auch nur so in die List clickt....<br />
:-\#</p>
<p>trotzdem danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/457649</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457649</guid><dc:creator><![CDATA[T1c4L]]></dc:creator><pubDate>Thu, 12 Feb 2004 12:07:28 GMT</pubDate></item><item><title><![CDATA[Reply to welche notification bei einer CListCtrl brauche ich um.. on Thu, 12 Feb 2004 13:20:19 GMT]]></title><description><![CDATA[<p>und wo ist das Problem? Ist es schwer zu überprüfen, ob iItem Member der NMITEMACTIVATE Struktur -1 ist oder nicht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/457738</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/457738</guid><dc:creator><![CDATA[Shlo]]></dc:creator><pubDate>Thu, 12 Feb 2004 13:20:19 GMT</pubDate></item><item><title><![CDATA[Reply to welche notification bei einer CListCtrl brauche ich um.. on Thu, 12 Feb 2004 22:52:50 GMT]]></title><description><![CDATA[<p>iItem auf -1 prüfen reicht nicht ganz, dann kommen immer noch 2 Nachrichten<br />
pro ItemChange an.<br />
Besser gleich auf uNewState != 0 checken, dann kriegst Du allein die letzte Nachricht mit dem neuen iItem drin, wenn ich Dich richtig verstehe willst Du ja nur die. Ungefähr so:</p>
<pre><code class="language-cpp">void CMyDlg::OnItemChangedMyList(NMHDR* pNMHDR, LRESULT* pResult) 
{
	LPNMLISTVIEW pNMLV = reinterpret_cast&lt;LPNMLISTVIEW&gt;(pNMHDR);
	if (pNMLV-&gt;uNewState != 0)
	{
		m_iNewPos = pNMLV-&gt;iItem; //Oder Dein Code...
	}
	*pResult = 0;
}
</code></pre>
<p>Bei mir klappt's so <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/458203</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/458203</guid><dc:creator><![CDATA[Theo@Home]]></dc:creator><pubDate>Thu, 12 Feb 2004 22:52:50 GMT</pubDate></item></channel></rss>