2

Closed

Touch support via WM_POINTER

description

The original DirectX SDK sample WindowsTouch shows how to layer support for touch onto DXUT11 via the Windows 7 era WM_TOUCH messages.

With Windows 8.x, there is now a unified WM_POINTER message which handles touch, mouse, etc. Adding support for this will enable the DXUT11 UI to be used with touch on Windows 8.x devices.
Closed Jun 16, 2015 at 7:15 PM by walbourn
Windows 8.1 and Windows 10 already forward WM_POINTER messages to WM_MOUSE, so it doesn't add much value to use it directly.

comments

walbourn wrote Sep 11, 2013 at 10:48 PM

Windows 8.1 has some built-in pointer-mouse forwarding that may make this redundant...

walbourn wrote Jun 19, 2014 at 6:53 PM

The function EnableMouseInPointer() would cause a Windows 8.x system to stop sending WM_MOUSE* messages and just use WM_POINTER...