Touch Hit Testing functions

The topics in this section provide the reference specifications for Touch Hit Testing functions.

In this section

Topic Description
EvaluateProximityToPolygon
Returns the score of a polygon as the probable touch target (compared to all other polygons that intersect the touch contact area) and an adjusted touch point within the polygon.
EvaluateProximityToRect
Returns the score of a rectangle as the probable touch target, compared to all other rectangles that intersect the touch contact area, and an adjusted touch point within the rectangle.
PackTouchHitTestingProximityEvaluation
Returns the proximity evaluation score and the adjusted touch-point coordinates as a packed value for the WM_TOUCHHITTESTING message callback.
RegisterTouchHitTestingWindow
Registers a window to process the WM_TOUCHHITTESTING notification

Touch Hit Testing Reference