Article View: comp.os.ms-windows.programmer.win32
Article #2130knowing if mouse is moving or not
From: Michael Zarky
Date: Mon, 12 Jul 1999 00:00
Date: Mon, 12 Jul 1999 00:00
26 lines
2175 bytes
2175 bytes
I'm trying to hide the mouse cursor when I see that it hasn't been moved for several seconds, and show it again the moment I get a new WM_MOUSEMOVE message. [I have good reasons for this - this a largely hands-off "real-time" graphical feedback program, run full screen (well, I won't remove the cursor if the window isn't full size) and on many screens I get a very annoying flicker of the cursor during the constant drawing. Once set up, the user might not operate the mouse for many minutes at all]] But I don't seem to get WM_MOUSEMOVE messages when the cursor is over the menu, apparently that is not part of the scheme - a fairly fatal problem! So I am wondering if someone has any suggestions how I might accomplish this. I've used a mode where I 'park' the cursor at the right hand edge of the screen (tho I assume there are 'left-handed' cursors for which I would have to allow) but this is disruptive to the user's sense of continuity of placement of the cursor, so I would really like to try simply making it invisible in place. But I need to know all the time when it has been moved - some other messages to look at? I'll be very grateful for your suggestions. I hope I haven't cross-posted to too many newsgroups - not really sure which would be most appropriate. Thank you, Michael Zarky
Technical Details
Message-ID:
<378A1A55.C9C5BA49@earthlink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dfb,c96eac103b7a4cf,start X-Google-Attributes: gid113dfb,public X-Google-Thread: 110c1b,c96eac103b7a4cf,start X-Google-Attributes: gid110c1b,public X-Google-Thread: 103bde,c96eac103b7a4cf,start X-Google-Attributes: gid103bde,public From: Michael Zarky <mXzXaXrXkXy@earthlink.net> Subject: knowing if mouse is moving or not Date: 1999/07/12 Message-ID: <378A1A55.C9C5BA49@earthlink.net> X-Deja-AN: 500163506 Content-Transfer-Encoding: 7bit X-Posted-Path-Was: not-for-mail Content-Type: text/plain; charset=us-ascii X-ELN-Date: 12 Jul 1999 16:38:17 GMT X-ELN-Insert-Date: Mon Jul 12 09:45:24 1999 Organization: EarthLink Network, Inc. Mime-Version: 1.0 Newsgroups: comp.os.ms-windows.programmer.win32,microsoft.public.win32.programmer.ui,borland.public.cpp.winapi