简体   繁体   English

在平板电脑上切换触摸并按住设置

[英]Toggle the touch and hold setting on tablet-pc

I'm trying to find a way to enable/disable the touch-and-hold setting for a tablet-pc with immediate effect (no reboot). 我正在尝试找到一种方法来立即启用/禁用Tablet PC的触摸保持设置(不重新启动)。

I'm creating a delphi application where you can draw a shape by pressing and holding for a set amount of time (immediate swiping is used for panning). 我正在创建一个delphi应用程序,在该应用程序中,您可以通过按住一定时间来绘制形状(立即滑动用于平移)。 The problem is that a press and hold is often used to trigger a right-click event intitiated by a square or circle animation around your finger while holding. 问题是按住通常会触发右键单击事件,该事件由按住时手指周围的正方形或圆形动画启动。 The only way I've been successful in hiding this animation/right-click behaviour is by completely disabling the touch-and-hold setting in the configuration screen or in the registry (which needs a reboot.. ). 我成功隐藏此动画/右键单击行为的唯一方法是完全禁用配置屏幕或注册表中的触摸和保持设置(需要重新启动。)。

Now how would I disable this right-click behaviour when my application is focused, but set it back to the default setting when losing focus? 现在,当我的应用程序聚焦时,如何禁用这种右键单击行为,而当失去焦点时如何将其设置回默认设置?

Thanks ;) 谢谢 ;)

My experience is after windows 10 build updated to 14986. It is not allowed to disable/uninstall HID-compliant touch screen that BLUE SCREEN as disable/uninstall. 我的经验是Windows 10构建更新到14986之后。不允许禁用/卸载BLUE SCREEN禁用/卸载的HID兼容触摸屏。

It works to disable touch screen as I changed the following registries : \\HKEY_CURRENT_USER\\Software\\Microsoft\\Wisp\\Touch 1. [Bouncing] change value to [0] 2. [Inertia] change value to [0] 3. [TouchMode_hold] change value to [0] 4. [TouchUI] change value to [0] 当我更改以下注册表时,它可以禁用触摸屏:\\ HKEY_CURRENT_USER \\ Software \\ Microsoft \\ Wisp \\ Touch 1. [Bouncing]将值更改为[0] 2. [Inertia]将值更改为[0] 3. [TouchMode_hold]将值更改为[0]4。[TouchUI]将值更改为[0]

Hope it works to you 2. 希望它对您有用2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM