Windows Forms touch down event

后端 未结 3 629
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-19 02:52

I\'m creating a Windows Forms application that has a couple of clickable panels that require the touchscreen equivalent of the mouse down and up event.

When I\'m te

3条回答
  •  别那么骄傲
    2021-01-19 03:22

    Just doing a little reading, I think you need to override the WndProc and look for WM_TOUCH events.

    Have a look at the Windows 7 Multitouch .NET Interop Sample Library which has examples on handling touch and gestures in winforms.

提交回复
热议问题