<?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[LitView-Controls und NM_HOVER]]></title><description><![CDATA[<p>Hallo,</p>
<p>könnte mir bitte jemand erklären in welchem Falle bei einem ListView-Common-Control die Notification-Nachricht NM_HOVER gepostet wird...? <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>Ich habe in einem Dialog ein ganz normales ListView-Control erstellt (in Report-Ansicht ohne Icons), alle Nachrichten wie NM_CLICK etc. und dergleichen werden ordnungsgemäß durch WM_NOTIFY gepostet, nur die eine nicht, die nach MSDN und neuester Windows-Version (XP) trotzdem keineswegs gepostet wird, obwohl doch eigentlich diese Nachricht über WM_NOTIFY in den Message-Loop geschickt werden müsste, wenn meine Maus über ein Item im ListView fährt ... oder ?</p>
<pre><code>[cpp]
case WM_NOTIFY:

switch(((LPNMHDR)lParam)-&gt;code)
{
case NM_CLICK:

MessagBox(NULL,&quot;Hallo ich wurde geklickt!\0&quot;,&quot;Klick auf Item\0&quot;,MB_OK);

return TRUE;

case NM_DBLCLICK:

MessagBox(NULL,&quot;Hallo ich wurde doppelt geklickt!\0&quot;,&quot;Klick auf Item\0&quot;,MB_OK);

return TRUE;

case NM_HOVER:

MessageBox(NULL,&quot;Maus fuhr gerade über ein Item!\0&quot;,&quot;Hover !\0&quot;,MB_OK);

return TRUE;

....
[/cpp]
</code></pre>
<p>Mfg<br />
harschi</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/129087/litview-controls-und-nm_hover</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Jul 2026 23:36:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/129087.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Dec 2005 23:32:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LitView-Controls und NM_HOVER on Fri, 09 Dec 2005 23:32:22 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>könnte mir bitte jemand erklären in welchem Falle bei einem ListView-Common-Control die Notification-Nachricht NM_HOVER gepostet wird...? <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>Ich habe in einem Dialog ein ganz normales ListView-Control erstellt (in Report-Ansicht ohne Icons), alle Nachrichten wie NM_CLICK etc. und dergleichen werden ordnungsgemäß durch WM_NOTIFY gepostet, nur die eine nicht, die nach MSDN und neuester Windows-Version (XP) trotzdem keineswegs gepostet wird, obwohl doch eigentlich diese Nachricht über WM_NOTIFY in den Message-Loop geschickt werden müsste, wenn meine Maus über ein Item im ListView fährt ... oder ?</p>
<pre><code>[cpp]
case WM_NOTIFY:

switch(((LPNMHDR)lParam)-&gt;code)
{
case NM_CLICK:

MessagBox(NULL,&quot;Hallo ich wurde geklickt!\0&quot;,&quot;Klick auf Item\0&quot;,MB_OK);

return TRUE;

case NM_DBLCLICK:

MessagBox(NULL,&quot;Hallo ich wurde doppelt geklickt!\0&quot;,&quot;Klick auf Item\0&quot;,MB_OK);

return TRUE;

case NM_HOVER:

MessageBox(NULL,&quot;Maus fuhr gerade über ein Item!\0&quot;,&quot;Hover !\0&quot;,MB_OK);

return TRUE;

....
[/cpp]
</code></pre>
<p>Mfg<br />
harschi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/938613</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/938613</guid><dc:creator><![CDATA[harschi]]></dc:creator><pubDate>Fri, 09 Dec 2005 23:32:22 GMT</pubDate></item><item><title><![CDATA[Reply to LitView-Controls und NM_HOVER on Sat, 10 Dec 2005 20:13:32 GMT]]></title><description><![CDATA[<p>Du musst eines der folgenden Styles setzen:<br />
- LVS_EX_TRACKSELECT<br />
- LVS_EX_ONECLICKACTIVATE<br />
- LVS_EX_TWOCLICKACTIVATE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/939194</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/939194</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sat, 10 Dec 2005 20:13:32 GMT</pubDate></item></channel></rss>