Main Site Documentation

Touch Problem


#1

hello,

I use the program GHIGraphicalDemo.
Inside I added a class, but I can use a touch in it.

Do you have any solutions?

Thanks


#2

The demo includes full source code, you can follow the example to see how to get touch events in your app.


#3

Pyxis2 source code is a good reference as well.


#4

Doesn’t pyxis poll the touchscreen on a separate thread instead of using events?

What is the best practice?


#5

http://code.tinyclr.com/project/198/manual-touch-collection/


#6

Pyxis works in 2 methods based on what’s happening.

Normal Mode: Event driven.

Modal Operations: Polling.

The reason for this is during modal operations the event thread blocks.


#7

thanks, I have resolve my problem