[VM] [WinCE][Q] Simulating yellow button with stylus

Noel J. Bergman noel at devtech.com
Mon Feb 18 02:51:52 UTC 2002


> Would this [mapping] interfere with having to tap-and-hold to move the
> cursor or to select text when Transcriber/CalliGrapher or Genie is
> enabled?  When one has one of those HWR methods enabled, one must tap
> and hold to get the tap recognized as a regular tap.

That's one reason for using the CN_CONTEXTMENU notification, and letting the
system provide the cue, rather than trying to do your own raw event mapping.

The way Transcriber and CalliGrapher appear to work is by having a short
interval between when a drag start would be recognized and a the
CN_CONTEXTMENU is generated.  A tap is still a tap, but if you want to tap
and drag, you need to hold briefly and then start to move as soon as you get
the first cue; it you delay further, the CN_CONTEXTMENU is generated.  So
you do not need to do anything special to move the cursor, but you do wait
for the drag start cue before selecting text.

Transcriber and CalliGrapher also go an extra bit for you: if you don't wait
long enough, and draw a straight left-right line across text, they will
select the underlying text for you.

As for Genie, perhaps Nathaniel or Andreas can comment on how it might be
impacted, if at all.


	--- Noel




More information about the Squeak-dev mailing list