WPF 4 multi-touch drag and drop

最后都变了- 提交于 2019-12-04 07:26:11

For multi-touch, you're going to want to use the Surface Toolkit for Windows Touch. It includes a drag-and-drop framework suitable for multi-touch scenarios. It includes a drag-and-drop framework. That link includes several how-to scenarios.

Seven

Although this is just an educated guess, I would say that DragDrop.DoDragDrop() is not capable to handle multiple drag guestures in parallel.

Indices:

  • There's no possibility to pass a touch ID to the method (which would be neccessary for differentiating the ongoing drag gestures)
  • The implementation of DoDragDrop() is static
  • The call of DoDragDrop() is blocking until the drop occured or was canceled
  • It is based upon the OLE version of drag and drop (which was not updated for Win7)

However, I would be glad if someone could correct me in this matter, because I'm currently also searching an DND API suitable for touch support.

Regards, Seven

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!