RegisterTouchHitTestingWindow function (winuser.h)
Registers a window to process the
WM_TOUCHHITTESTING notification.
Syntax
BOOL RegisterTouchHitTestingWindow(
[in] HWND hwnd,
[in] ULONG value
);
Parameters
[in] hwnd
The window that receives the WM_TOUCHHITTESTING notification.
[in] value
One of the following values:
- TOUCH_HIT_TESTING_CLIENT: Send WM_TOUCHHITTESTING messages to the target window.
- TOUCH_HIT_TESTING_DEFAULT: Don't send WM_TOUCHHITTESTING messages to the target window but continue to send the messages to child windows.
- TOUCH_HIT_TESTING_NONE: Don't send WM_TOUCHHITTESTING messages to the target window or child windows.
Return value
If this function succeeds, it returns TRUE.
Otherwise, it returns FALSE. To retrieve extended error information, call the GetLastError function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |