Re: How to use GetMouseMovePoints ??

Tech-Archive recommends: Fix windows errors by optimizing your registry

r_z_aret_at_pen_fact.com
Date: 04/16/04


Date: Fri, 16 Apr 2004 16:39:20 -0400

On Fri, 16 Apr 2004 17:49:52 +0200, Rage coder
<coder@clever-devel.org> wrote:

>r_z_aret@pen_fact.com wrote:
>> On Tue, 13 Apr 2004 12:44:51 +0200, Rage coder
>> <coder@clever-devel.org> wrote:
>>
>>>How are we suppose to use GetMouseMovePoints ?
>> Are you sure you need to?
>Actually, no ! The more we try this, the less I believe it's the best
>way to proceed.
>We would like to get the precise movement (in real time) of an embedded
>system. So we will put two mice on it. Now our (big) problem is to get
>these information (simultaneously) via the windows API.
>I found some files in .\WINCE420\PUBLIC\COMMON\OAK\DRIVERS\USB\USBD.
>Does anyone think that I can use those files to get the informations
>directly from the driver. Or is there a lower lever API than
>getmousemovepoint I didn't find ?
>
> > My signature-capture code stores
>> cursor/mouse/pointer position in response to WM_MOUSEMOVE messages,
>> and the resolution is fine. I tried using GetMouseMovePoints, but
>> disabled the code because it caused flashing and didn't make the
>> signatures look any better.
>Well, I don't really understand how to use WM_MOUSEMOVE. But I think

Not quite trivial, but not deep either. The coordinates are passed in
the LPARAM for the message (see LOWORD and HIWORD). You probably need
to use GetCapture and SetCapture to get all "mouse" input. Sorry, but
my code is just a bit too proprietary for me to share.

>this is not what we are looking for because of the references to the
>mouse button and the windows, that we won't have as we don't need
>graphical interface.

If you don't have a graphical interface, how were you using
GetMouseMovePoints? Also (perhaps relevant), I use the same code for
"big" Windows (mouse) and CE (stylus).

>
>Thanks in advance.
>Theo.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com


Quantcast