"How to build an annoying mobile application 101"

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.

Tags:

Powered by BlogEngine.NET 2.0.0.36

Automotive Theme by Car Leasing Experts

 

Page List