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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for