🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2132

Re: knowing if mouse is moving or not

#2132
From: Scott Seely
Date: Mon, 12 Jul 1999 00:00
17 lines
1428 bytes
Another alternative is overriding WM_NCMOUSEMOVE.  Now, all the mouse
messages have corresponding WM_NC (non-client) messages for situations like
what you just described.  I'm not sure that WM_NCHITTEST will work (it
should only get fired for non-client mouse movemenets?).

Paul Andre LeBlanc <paul.a.leblanc@sympatico.ca> wrote in message
news:378A2D7A.2391@sympatico.ca...
> Michael Zarky wrote:
> >
> > But I don't seem to get WM_MOUSEMOVE messages when the
> > cursor is over the menu
> >
>
> Use WM_NCHITTEST instead - you'll get that when the mouse moves over any
> part of the window, and even when it is over a child of your window.
>
> Paul
Technical Details
Message-ID: <eXvLQTJz#GA.248@cppssbbsa05>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <378A1A55.C9C5BA49@earthlink.net> <378A2D7A.2391@sympatico.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113dfb,c96eac103b7a4cf
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 103bde,c96eac103b7a4cf
X-Google-Attributes: gid103bde,public
X-Google-Thread: 110c1b,c96eac103b7a4cf
X-Google-Attributes: gid110c1b,public
From: "Scott Seely" <scott.seely@nospam.technologist.com>
Subject: Re: knowing if mouse is moving or not
Date: 1999/07/12
Message-ID: <eXvLQTJz#GA.248@cppssbbsa05>
X-Deja-AN: 500198976
References: <378A1A55.C9C5BA49@earthlink.net> <378A2D7A.2391@sympatico.ca>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-MSMail-Priority: Normal
Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.win32.programmer.ui,borland.public.cpp.winapi