在WinForms应用程序检测各种触摸事件应用程序、事件、WinForms

2023-09-03 17:36:47 作者:天大地大吃货称霸

我有一个触摸屏显示器5的触摸点。我希望做一些修饰工作在一个新的Windows窗体应用程序,但我无法找到resouces这一点。

I have a touch screen monitor with 5 touch points. I would like to do some touch work in a new windows forms app but I'm having trouble finding resouces for this.

是否有可能处理的WinForms应用程序触摸事件?我不是单指轻击,无论是。我的意思是像捏,刷卡(双指扫动),抓住和扭曲/旋转和缩放?

Is it possible to handle touch events in a winforms app? Im not just talking about Tapping, either. I mean things like Pinching, Swiping (two finger swiping), grabbing and twisting/rotating and zooming?

如何才能检测到捏?

推荐答案

看看的 WM_GESTURE消息,我认为你可以得到一些信息在这里,的这也可能是好的并可能的这个

Take a look at WM_GESTURE message, I think you can get some info here, this could also be good and may be this

由于我不能在您的文章发表评论,不要将此作为一个完整的答案。我帮我怎么可以!

Since I cant comment on your post, dont take this as a full answer. I help how I can !

 
精彩推荐
图片推荐