DM_POINTERHITTEST message

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Sent to a window, when pointer input is first detected, in order to determine the most probable input target for Direct Manipulation.

![Important]
Desktop apps should be DPI aware. If your app is not DPI aware, screen coordinates contained in pointer messages and related structures might appear inaccurate due to DPI virtualization. DPI virtualization provides automatic scaling support to applications that are not DPI aware and is active by default (users can turn it off). For more information, see Writing High-DPI Win32 Applications.

#define DM_POINTERHITTEST       0x0250

Parameters

wParam

Unused.

lParam

Unused.

Return value

NULL

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Messages