Windows 7 平板电脑按钮双击 [英] Windows 7 Tablet Button Double-Tap

查看:30
本文介绍了Windows 7 平板电脑按钮双击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个应用程序,可以在三星 Series 7 平板电脑上运行.此应用程序是使用 WPF、.NET 4.5 和 C# 开发的.

I have developed an application to run on a Samsung Series 7 tablet. This application was developed using WPF, .NET 4.5, and C#.

我的问题是有时一个按钮在第一次被点击时没有收到输入.例如,Window1 上有一个 OpenWindow2Button,用于打开 Window2.关闭 Window2,然后尝试按下 DoSomethingElseButton.我第一次点击按钮时,没有任何反应.第二次按钮按预期工作.当我点击 Window1 上的 DisplayMediaElement 时,也会出现同样的问题.

My problem is that sometimes a button does not receive input the first time it is tapped. For example, Window1 has a OpenWindow2Button on it that opens Window2. Close Window2 and then try to push DoSomethingElseButton. The first time I tap the button, nothing happens. The second time the button works like expected. The same problem also occurs when I tap a DisplayMediaElement that is on Window1.

一个有趣的事实是,如果我使用手写笔或鼠标,则问题不存在.

An interesting fact is that if I use a stylus or mouse, the problem is non-existent.

我的猜测是 Window 或 DisplayMediaElement 没有接收点击输入的焦点.(但是为什么它有接收触控笔或鼠标输入的焦点?)这是一个功能还是一个错误?是否可以在第一次点击按钮时接收触摸输入?

My guess is that the Window or DisplayMediaElement does not have focus to receive a tap input. (But then why does it have focus to receive a stylus or mouse input?) Is this a feature or a bug? Is it possible to receive touch input the first time a button is tapped?

推荐答案

也许有时它不会将手势识别为点击"而是拖动"(或任何其他手势类型)?我想我前段时间遇到了问题.

Maybe sometimes it does not recognize gesture as 'tap' but as 'drag' (or any other gesture type)? I think i had a problem with it some time ago.

这篇关于Windows 7 平板电脑按钮双击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆