by Nick
6. June 2006 14:03
Even wondered how you can stop your device from accidentally calling people? Or wanted to stop people drawing all over you application? Perhaps you even have a legitimate reason to stop people using the touch display - like they are supposed to use the keyboard or hardware keys to navigate (like a smartphone)? Well, look no further, here's a neat trick for disabling the touch screen on your device....
<System.Runtime.InteropServices.DllImport("touch")> _
Private Shared Sub TouchPanelDisable()
End Sub
This code snippet was brought to you curtesy of a fellow .NET CF MVP, Peter Foot.
d6232db7-5285-42f5-9de7-dbda373f52fb|0|.0
Tags: Rant