tamacyprus.blogg.se

Disable touch screen windows 7
Disable touch screen windows 7













disable touch screen windows 7

Now, you know an easy way to lock and unlock the touch screen input.

disable touch screen windows 7

GetDesktopWindow() will return the non-zero one. Looking thru the window list with CE remote Spy you will see two Desktop windows:

disable touch screen windows 7

To ‘unlock’ touch screen input, you just have to call TouchUnregisterWindow() with the handle of the desktop window ( GetDesktopWindow()). If you use it with TouchRegisterWindow (), the touch input is no more forwarded to the mobile screen elements. The WndProc of this zero size window does nothing and the screen is ‘blocked’ for touch input.īut there is an easier use: you can just register the desktop window handle of Windows Mobile. TouchLockPro disables touch screen input by creating a window of zero size and registering this with TouchRegisterWindow. I managed to use the functions easily after some digging in the TouchLockPro (sourceforge project) code. The only references I found was about transcriber input and at the TouchLockPro code. Although I do not know exactly what they are for and there is NO documentation to find anywhere. How could you provide some?įortunately I found TouchRegisterWindow and TouchUnregisterWindow. The corresponding API EnableTouch() needs a function pointer as callback for touch input processing. Beside there is a API function called DisableTouch, you need to reboot to re-enable touch screen input. It took me a long time and deep searches and trials to find out, how that could be done. For example, if you put the device in a pocket, to avoid accidentally tapped screen elements. Sometimes you might want to ‘lock’ the screen, better say: disable touch input.















Disable touch screen windows 7