Tap-and-Hold - WinCE 4.x

  • Thread starter Paul [Paradise Solutions]
  • Start date
P

Paul [Paradise Solutions]

Hi there

Have seen a number of post, but none recent.



I have the following hardware:

Casio IT-500 running WinCE 4.1
Psion Workabout Pro running WinCE 4.2

On 4.1 Tap and hold context menus work fine on list views but fire the
click event on buttons and on 4.2 they do not work at all.

Is there any *updated* information regarding this?

Many thanks


Paul
 
D

Daniel Moth

I know nothing about the specific devices you mention but maybe some generic
information might help.

As I understand it, tap and hold has two parts:
1. Red dotted circle appears after tap and holding
2. Action is carried out in response by control; typically a contextmenu
shown

Red dotted circle is a feature of the aygshell (used by PPCs) and can be
simulated bycalling SHRecogniseGesture
http://msdn.microsoft.com/library/d...eshellui5/html/wce50lrfSHRecognizeGesture.asp

Note that aygshell (and hence the feature) is only an option on custom CE
devices (and in fact the standard license does not cover it). For example
our 4.2-based unit ships with the standard shell and no red dots ever
appear.

Now, in development I do sometimes use the aygshell (in what we call a PDA
build); in the early days I had tried, for a laugh, to show contextmenus via
this mechanism in my CF apps and all I saw where the red dots and no menu. I
concluded that the CF does not support contextmenus via tap and hold on a
non-PPC device out of the box.

I only briefly developed for 4.1 and never tried it with aygshell so cannot
comment there.

Maybe there is something in these posts (I admit not having looked inside
them):
http://groups-beta.google.com/group...compactframework/search?q=Shrecognizegesture&

Cheers
Daniel
 

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