Re: Any Touch Screen gurus?
- From: Geeky Badger <spamhater@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Jul 2007 12:34:17 -0500
Hi Simon,
First of all, most touchscreens have a stand alone calibration EXE
that you can shell to. For touchscreens to work well, the user should
start with calibration.
Second, the touchscreen driver will have a 'paint' mode and a 'mouse
emulation' mode. If you simply want to get initial touchdown events
and don't care about dragging events then use the 'paint' mode.
In the mouse emulation mode it is harder for the untrained user to
master the fine distinction between click-and-release, click-and-hold,
and double-click. This results in difficulty when attempting to use
it for dragging because a buildup of contaminants on the touchscreen
surface eventually leads to false liftoff events while dragging.
Touchscreens in daily production use are cleaned at least once a day,
and sometimes more often than that.
Most touchscreens use a capacitive approch to sensing the touch
location. If you have one of these you can tell because putting a
finger from each hand at different locations on the screen will cause
the sensed location to be calculated as being somewhere in between the
two touch points.
Even though the touchscreen drivers try to de-bounce the touches it is
quite common to register a double touch on a button. Because of this
you should remove the focus, disable the button, perform the
operation, then re-enable the button.
Hope this helps,
-GB
On Tue, 24 Jul 2007 19:08:22 +0200, "Simon" <spambucket@xxxxxxxxxxx>
wrote:
Hi,.
I need to write a very simple application for a touch screen.
As far as I know a touch screen is the same as a mouse.
So any messages I will receive will be the same as any onclick(..) messages.
Am I right?
Would you know where I could find a tutorial or even an example?
This is for a touch screen computer, not a PDA.
Many thanks in advance
Simon
- References:
- Any Touch Screen gurus?
- From: Simon
- Any Touch Screen gurus?
- Prev by Date: no-TitleBar Dialog in VS 7.1 ?
- Next by Date: Re: CThreadLocalObject Crash on Exit
- Previous by thread: Re: Any Touch Screen gurus?
- Next by thread: Resize height in toolbar with custom controls
- Index(es):