如何使用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?