How to cancel pending dragging with inertia (flick) manipulation RRS feed

  • Question

  • Hi,

    Need your help to figure out the sequences of manipulation events and being able to cancel flick gesture on pointer press down....

    I have singed up for SwapChainBackgroundPanel manipulation, start, stop, delta events and also pointer pressed and released. Also enabled ManipulationModes::TranslateInertia.

    On flick gesture i get: 

    - pointer pressed

    - manipulation started

    - bunch of manipulation deltas with inertial false 

    - pointer released

    - (A) bunch of manipulation deltas with inertial true

    - manipulation ended

    Now if in the middle of state (A) i press pointer down, the event handler gets called only "after" all manipulation deltas arrived, meaning I cannot "cancel" flick motion in real time. How to prevent this from happening?  I need to be able to get press down event with higher priority then manipulation delta to be able to cancel the gesture.



    • Edited by Vladbph Monday, October 22, 2012 7:44 PM
    Monday, October 22, 2012 7:01 PM

All replies

  • I have exactly the same problem.. Did you find how to solve it ?
    Monday, December 16, 2013 12:28 PM
  • We had this same problem, mostly with the touch mouse. There is no way that we could tell to stop the stream of events, especially when the mouse moves over other items and the inertia continues it introduces scale or panning where it is not desired.
    Monday, December 16, 2013 1:30 PM
  • sorry, no solution.
    Wednesday, December 18, 2013 4:48 AM