WM Gesture: get amount of active fingers RRS feed

  • Question

  • Hi,

    i'm using WM_GESTURE to control my application but i'd like to have different behaviors for when the user is touching with one fingers or two fingers. How can i retrieve this information?

    (I know that it's possible to get the amount of fingers using WM_TOUCH, but then i'd have to interpret the gestures myself, which is not good)

    Thanks in advance!

    Wednesday, April 4, 2012 2:04 PM

All replies

  • whoa, i think i've found out. 

    after trying to figure it out all day before posting a question here, now i've found this link which explains the function of ullArguments. It will store the distance between the fingers when i'm panning. so if it's a single finger panning, ullArguments will be 0; otherwise, it will be a positive number.

    Wednesday, April 4, 2012 2:15 PM