What are the gesture metrics built into the Windows gesture recognizer?

守給你的承諾、 提交于 2019-12-12 04:31:21

问题


I started looking for the touch equivalent of GetSystemMetrics(SM_CXDOUBLECLK | SM_CYDOUBLECLK), but any list of values will do. So far I have found these: https://msdn.microsoft.com/en-nz/library/ee500273.aspx


回答1:


That structure isn't part of Windows any more. The current structures are internal to Microsoft; however, the current values are:

  • 200 himetric units in X and Y for the touch to be considered a tap;
  • 450 himetric units in X and Y for two taps to be considered a double tap.


来源:https://stackoverflow.com/questions/43503293/what-are-the-gesture-metrics-built-into-the-windows-gesture-recognizer

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