How to Enable the TouchPanel in Windows CE using C#.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm disabling the touch panel using the TouchPanelDisable() and it's working
good, but when I try to Enable with TouchPanelEnable() I get a the folowing
error InvalidProgramException.

Can someone help me?
 
You can't use this function from managed code. It is used to pass a function
pointer for the touch panel driver which receives raw events from the panel.
There are alternative ways to stop touch events reaching your application
such as intercepting window messages e.g. OpenNETCF ApplicationEx as one
example.

Peter
 
Back
Top