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

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?
 
P

Peter Foot [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top