Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPF 如何确定应用程序开启了 Pointer 触摸消息的支持 #53

Open
utterances-bot opened this issue Aug 22, 2020 · 7 comments

Comments

@utterances-bot
Copy link

WPF 如何确定应用程序开启了 Pointer 触摸消息的支持

WPF 如何确定应用程序开启了 Pointer 触摸消息的支持

https://blog.lindexi.com/post/WPF-%E5%A6%82%E4%BD%95%E7%A1%AE%E5%AE%9A%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%BC%80%E5%90%AF%E4%BA%86-Pointer-%E8%A7%A6%E6%91%B8%E6%B6%88%E6%81%AF%E7%9A%84%E6%94%AF%E6%8C%81.html

Copy link

lwqwag commented Aug 22, 2020

太棒了

@lindexi
Copy link
Owner

lindexi commented Sep 16, 2020

太棒了

多谢

Copy link

开启pointer 后,修改屏幕的dpi,触控无法点击,鼠标可以点击

Copy link

验证了一下,是触笔的点的位置偏移了。鼠标是正常的

@lindexi
Copy link
Owner

lindexi commented Dec 4, 2023

@wutangyuan 好的,这个问题 @kkwpsv 已经修了,他正在提代码中,请看 dotnet-campus/wpf#9

似乎现在只有在多屏 DPI 的情况下才会出现触笔的点的位置偏移的问题,当然了,也有可能你遇到的是 dotnet/wpf#6428 这个问题,这个问题的话,我修好了现在正在 WPF 测试中,预计测试通过将会合入到主干

@lindexi
Copy link
Owner

lindexi commented Dec 5, 2023

@wutangyuan 此问题现在已经被 @kkwpsv 修了,我将他的代码合入了,构建了私有的 WPF 版本,详细请看 dotnet-campus/dotnetCampus.CustomWpf#10 (comment)

有可能使用此版本的 WPF 能够修复你的问题

@wutangyuan
Copy link

@wutangyuan 此问题现在已经被 @kkwpsv 修了,我将他的代码合入了,构建了私有的 WPF 版本,详细请看 dotnet-campus/dotnetCampus.CustomWpf#10 (comment)

有可能使用此版本的 WPF 能够修复你的问题

好的,多谢熙哥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants