Click here to Skip to main content
15,911,139 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to enable/disable touch screen on winCE - using C# code ?
Posted

1 solution

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?
 
Share this answer
 
Comments
Espen Harlinn 18-Mar-11 6:28am    
The voice of experiece :)
OriginalGriff 18-Mar-11 6:31am    
Are you saying I'm old? :laugh:
Because that's my job...:sigh:
Espen Harlinn 18-Mar-11 6:40am    
No - merely an elder of this tribe :)
OriginalGriff 18-Mar-11 9:47am    
You've been here seven years longer than I have! :laugh:
Espen Harlinn 18-Mar-11 12:15pm    
Ouch! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900