Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - DragDeltaEventsArgs.VerticalChange cumulative

 
 
Old 08-23-2006   #1 (permalink)
=?Utf-8?B?Sm9obiBEdW5u?=


 
 

DragDeltaEventsArgs.VerticalChange cumulative

The documentation for DragDeltaEventsArgs.VerticalChange says

"Gets the vertical distance that the mouse has moved, since the previous
DragDelta event, when the user drags the Thumb with the mouse."

To me this means that each time the DragDelta handler is called the previous
value of VerticalChange is cleared out and it should just contain the
differences from the last vertical value. In my app, when the DragDelta
handler is called, VerticalChange shows the cumultive effects of my drag. If
I move the mouse down slowly I get 1, 2, 3, 4.. when I would expect 1, 1, 1,
1. If I move the mouse down and then back up I get 1, 2, 3, 2, 1 when I would
expect 1, 1, 1, -1, -1. I've tried setting args->Handled = true but that has
no affect.

Am I misinterpreting the documentation? Doing something wrong?

John



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
installed June 2009 Cumulative Update Media Vista General
Cumulative Update for MCE KB941229 Vista General
Media Center cumulative update!!! Vista music pictures video
Major Cumulative update (USB) rollup for Vista (Jul 20) Vista General
Vista IE7 Last Cumulative Update F/U Workarounds etc Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46