|
-
August 23rd, 2004, 04:07 PM
#1
implementing stylus drag
I would like to know if this is the way I should go about this:
I'm using embedded visual c++ 4.0 and I'd like to be able to display a new cursor on the screen when I hold the stylus down for a second or two. Then if I continue to hold the stylus down I can move it across the screen and once it is lifted I would like to be able to calculate its velocity vector(i.e. speed, direction).
So, currently my plan is to use the WM_LBUTTONDOWN and WM_LBUTTONUP messages plus a timer and do this calculation manually. I'm thinking there will be a lot of error in that however so does anyone else know of a better way?
Last edited by scomet1; August 24th, 2004 at 02:46 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|