The following constants are used by applications or UI frameworks to identify how messages for touch hit testing are processed by windows that are registered through the RegisterTouchHitTestingWindow function.
Constant/value
Description
TOUCH_HIT_TESTING_DEFAULT
0 (0x0)
Indicates that WM_TOUCHHITTESTING messages are not sent to the target window but are sent to child windows.
TOUCH_HIT_TESTING_CLIENT
1 (0x1)
Indicates that WM_TOUCHHITTESTING messages are sent to the target window.
TOUCH_HIT_TESTING_NONE
2 (0x2)
Indicates that WM_TOUCHHITTESTING messages are not sent to the target window or child windows.