0

I have a touch screen that is handled as a mouse in windows. I'm trying to figure out how can retrieve the position of my click in the signle-touch screen without making the main cursor moves. Something like this thread but for windows.

I can retrieve the position of the click in the touchscreen using GetRawInputData and now i want to capture the event or block it in order to not mess up with the main cursor.

Any help ?

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
Adah
  • 113
  • 7

1 Answers1

0

When touch messages are not handled they are translated into standard mouse messages. So handle all the touch messages and the mouse cursor should not be influenced.

xMRi
  • 14,982
  • 3
  • 26
  • 59
  • 2
    This is not true. Handling `WM_TOUCH` messages does not prevent the system from updating the mouse cursor position. – IInspectable Jul 26 '17 at 12:02