Is there some way to query the x,y coordinates for 2 touch points for WM_GESTURE GID_PAN or GID_ZOOM? RRS feed

  • Question

  • Running on Windows 7.

    I understand from the documentation and experimentation that GESTUREINFO for GID_PAN or GID_ZOOM provides the following if 2 touch-points are active:

    ptsLocation is x,y screen coordinate of the center between the 2 points.

    ullArguments lower 32-bits is the distance between the 2 points.

    Is there some way to know the x,y screen coordinates of the 2 points? Ideally I'd like to have some way of detecting if the distance change is primarily in 1 dimension or the other.

    thanks for any help,


    Tuesday, December 22, 2015 8:26 PM