WM_POINTERDEVICEINRANGE message

Sent to a window when a pointer device is detected within range of an input digitizer. This message contains information regarding the device and its proximity.

![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 WM_POINTERDEVICEINRANGE       0X239

Parameters

wParam

Additional message-specific information.

lParam

Additional message-specific information.

Return value

If the application processes this message, it should return zero.

If the application does not process this message, it should call DefWindowProc.

Requirements

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

See also

Messages