如何使用C#代码在WinCE上启用/禁用触摸屏? [英] how to enable/disable touch screen on winCE - using C# code ?
本文介绍了如何使用C#代码在WinCE上启用/禁用触摸屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在WinCE上启用/禁用触摸屏-使用C#代码?
how to enable/disable touch screen on winCE - using C# code ?
推荐答案
您可以使用TouchPanelDisable [ TouchPanelEnable [
可能可以通过消息过滤器来完成此操作,但是我还没有尝试过,所以您自己一个人做吧!
为什么要削弱设备?
You can disable it with TouchPanelDisable[^] - but AFAIK there is no way to reenable it, short of a warm restart. There is a TouchPanelEnable[^] routine, but that requires the callback address of the handler, which if vendor specific, and you can''t get...
It may be possible to do it via a message filter, but I haven;t tried it, so you are on your own!
Why do you want to cripple the device?
这篇关于如何使用C#代码在WinCE上启用/禁用触摸屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文