🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3823

Re: WM_MOUSEMOVE

#3823
From: JD
Date: Thu, 27 Apr 2006 12:30
37 lines
2307 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>> Are you aware of any bugs with the underlying MS ListView?
>
>In what regards?

Any in general but I asked because of this:

    http://tinyurl.com/zyjue

Some one was using a sample by Damon Chandler that pre-dated
XP and it exposed a problem when the ListView was themed. I
was able to determine that when theming was enabled, the OS
was sending WM_NOTIFY messages that it didn't send when
theming was not enabled.

When ever the code member of the LPNMHDR structure that
accompanies the WM_NOTIFY message was 0xFFFFFDEE, it caused
the control to generate a superfluous OnCustomDraw event.

I searched msdn to try to determine what was happening and
what 0xFFFFFDEE is intended for but came up empty so my
suggestion to the OP was that my best guess was that it
was ok to just swallow that message.

This leads me to believe that the underlying ListView has not
been brought up to date with the advent of XP or perhaps it's
a bug with the control. In this particular case, since I'm
doing all of the drawing, I can disable theming for the control
but where there's one bug, there's sure to be more and I just
don't want to run into a wall later.

I also don't want to be painting and repainting when it isn't
needed which is what the above was causing.

~ JD
Technical Details
Message-ID: <4450b969$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <444a0026$1@newsgroups.borland.com> <444d202d@newsgroups.borland.com> <444e08a0$1@newsgroups.borland.com> <444e5734$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,75696ebf01497ced
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: WM_MOUSEMOVE
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 152.163.100.201     
X-Forwarded-For: 172.152.201.246
References: <444a0026$1@newsgroups.borland.com> <444d202d@newsgroups.borland.com> <444e08a0$1@newsgroups.borland.com> <444e5734$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4450b969$1@newsgroups.borland.com>
Date: 27 Apr 2006 05:30:33 -0700
X-Trace: newsgroups.borland.com 1146141033 207.105.83.66 (27 Apr 2006 05:30:33 -0700)
Lines: 38
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail